summaryrefslogtreecommitdiffstats
path: root/libm/s_finite.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-10-26 10:15:05 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-10-26 10:15:05 +0000
commit6d0c300ebf07eafbda54a3caa3d9902265d1312a (patch)
tree32863c3c77b1b135301aeb74a0d32b0308b842d3 /libm/s_finite.c
parentbddfb866b0a7c70010083c3786ef4285643d4241 (diff)
downloaduClibc-alpine-6d0c300ebf07eafbda54a3caa3d9902265d1312a.tar.bz2
uClibc-alpine-6d0c300ebf07eafbda54a3caa3d9902265d1312a.tar.xz
Remove s_ceilf.c and s_floorf.c, ceilf and floorf are provided by the float_wrapper. I hope that __ceilf and __floorf are not needed anywhere. Use only __finite from s_finite.c, disabled in fpmacros.c. Allow IMA compiling, 2 files: s_lib_version.c and w_cabs.c have to be reworked for complete IMA.
Diffstat (limited to 'libm/s_finite.c')
-rw-r--r--libm/s_finite.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libm/s_finite.c b/libm/s_finite.c
index 428570c14..a3385bcde 100644
--- a/libm/s_finite.c
+++ b/libm/s_finite.c
@@ -23,9 +23,9 @@ static char rcsid[] = "$NetBSD: s_finite.c,v 1.8 1995/05/10 20:47:17 jtc Exp $";
#include "math_private.h"
#ifdef __STDC__
- int finite(double x)
+ int __finite(double x)
#else
- int finite(x)
+ int __finite(x)
double x;
#endif
{
@@ -33,3 +33,4 @@ static char rcsid[] = "$NetBSD: s_finite.c,v 1.8 1995/05/10 20:47:17 jtc Exp $";
GET_HIGH_WORD(hx,x);
return (int)((u_int32_t)((hx&0x7fffffff)-0x7ff00000)>>31);
}
+weak_alias(__finite,finite)