mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-27 04:55:42 +08:00
stubs.c (sqrtf): Define.
2001-06-24 David Edelsohn <dje@watson.ibm.com> * libmath/stubs.c (sqrtf): Define. (tanf): Correct typo. From-SVN: r43532
This commit is contained in:
parent
7a2e09f40f
commit
d4916912e5
@ -1,3 +1,8 @@
|
|||||||
|
2001-06-24 David Edelsohn <dje@watson.ibm.com>
|
||||||
|
|
||||||
|
* libmath/stubs.c (sqrtf): Define.
|
||||||
|
(tanf): Correct typo.
|
||||||
|
|
||||||
2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
|
2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
|
||||||
|
|
||||||
* include/bits/stl_iterator.h (reverse_iterator): Inherit from
|
* include/bits/stl_iterator.h (reverse_iterator): Inherit from
|
||||||
|
@ -94,11 +94,18 @@ sinhf(float x)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef _GLIBCPP_HAVE_SQRTF
|
||||||
|
float
|
||||||
|
sqrtf(float x)
|
||||||
|
{
|
||||||
|
return (float) sqrt(x);
|
||||||
|
}
|
||||||
|
|
||||||
#ifndef _GLIBCPP_HAVE_TANF
|
#ifndef _GLIBCPP_HAVE_TANF
|
||||||
float
|
float
|
||||||
tanf(float x)
|
tanf(float x)
|
||||||
{
|
{
|
||||||
return (float) tanf(x);
|
return (float) tan(x);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user