diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-10-22 09:29:40 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-10-22 09:29:40 +0000 |
commit | 7845251d593a343097336f09c8a8b93df2ecc697 (patch) | |
tree | 760b2f63295c732e12bbe63507055d1e30cd1892 | |
parent | fdda13fafbec9a3f86b0357572b9a028953d9411 (diff) | |
download | uClibc-alpine-7845251d593a343097336f09c8a8b93df2ecc697.tar.bz2 uClibc-alpine-7845251d593a343097336f09c8a8b93df2ecc697.tar.xz |
Atsushi Nemoto writes:
uClibc's libm has isinf/isinff, isnan/isnanf but not finite/finitef.
Here is a patch.
-rw-r--r-- | libm/fpmacros.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libm/fpmacros.c b/libm/fpmacros.c index 968259520..0fa4f9e7e 100644 --- a/libm/fpmacros.c +++ b/libm/fpmacros.c @@ -158,11 +158,13 @@ int __finitef ( float x ) z.fval = x; return ((z.lval & FEXP_MASK) != FEXP_MASK); } +weak_alias (__finitef, finitef) int __finite ( double x ) { return ( __fpclassify ( x ) >= FP_ZERO ); } +weak_alias (__finite, finite) /*********************************************************************** |