stubs.c (sqrtf, sqrtl): Reorder so they appear before they're used.
2003-11-01 Anthony Green <green@redhat.com> * libmath/stubs.c (sqrtf, sqrtl): Reorder so they appear before they're used. From-SVN: r73243
This commit is contained in:
parent
4c411e4f7e
commit
1b9e6d6484
|
@ -1,3 +1,8 @@
|
||||||
|
2003-11-03 Anthony Green <green@redhat.com>
|
||||||
|
|
||||||
|
* libmath/stubs.c (sqrtf, sqrtl): Reorder so they appear before
|
||||||
|
they're used.
|
||||||
|
|
||||||
2003-11-03 Benjamin Kosnik <bkoz@redhat.com>
|
2003-11-03 Benjamin Kosnik <bkoz@redhat.com>
|
||||||
|
|
||||||
* include/bits/locale_facets.h (time_get::_M_extract_name): Add
|
* include/bits/locale_facets.h (time_get::_M_extract_name): Add
|
||||||
|
|
|
@ -102,6 +102,23 @@ expl(long double x)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef HAVE_SQRTF
|
||||||
|
float
|
||||||
|
sqrtf(float x)
|
||||||
|
{
|
||||||
|
return (float) sqrt(x);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_SQRTL
|
||||||
|
long double
|
||||||
|
sqrtl(long double x)
|
||||||
|
{
|
||||||
|
return sqrt((double) x);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* Compute the hypothenuse of a right triangle with side x and y. */
|
/* Compute the hypothenuse of a right triangle with side x and y. */
|
||||||
#ifndef HAVE_HYPOTF
|
#ifndef HAVE_HYPOTF
|
||||||
float
|
float
|
||||||
|
@ -226,23 +243,6 @@ sinhl(long double x)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifndef HAVE_SQRTF
|
|
||||||
float
|
|
||||||
sqrtf(float x)
|
|
||||||
{
|
|
||||||
return (float) sqrt(x);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef HAVE_SQRTL
|
|
||||||
long double
|
|
||||||
sqrtl(long double x)
|
|
||||||
{
|
|
||||||
return sqrt((double) x);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
#ifndef HAVE_TANF
|
#ifndef HAVE_TANF
|
||||||
float
|
float
|
||||||
tanf(float x)
|
tanf(float x)
|
||||||
|
|
Loading…
Reference in New Issue