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:
David Edelsohn 2001-06-23 22:45:52 +00:00 committed by Gabriel Dos Reis
parent 7a2e09f40f
commit d4916912e5
2 changed files with 13 additions and 1 deletions

View File

@ -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

View File

@ -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