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>
|
||||
|
||||
* include/bits/stl_iterator.h (reverse_iterator): Inherit from
|
||||
|
@ -94,11 +94,18 @@ sinhf(float x)
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef _GLIBCPP_HAVE_SQRTF
|
||||
float
|
||||
sqrtf(float x)
|
||||
{
|
||||
return (float) sqrt(x);
|
||||
}
|
||||
|
||||
#ifndef _GLIBCPP_HAVE_TANF
|
||||
float
|
||||
tanf(float x)
|
||||
{
|
||||
return (float) tanf(x);
|
||||
return (float) tan(x);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user