Commit d4916912 by David Edelsohn Committed by Gabriel Dos Reis

stubs.c (sqrtf): Define.

2001-06-24  David Edelsohn <dje@watson.ibm.com>

        * libmath/stubs.c (sqrtf): Define.
        (tanf): Correct typo.

From-SVN: r43532
parent 7a2e09f4
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment