OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdda13f
)
Atsushi Nemoto writes:
author
Eric Andersen
<andersen@codepoet.org>
Wed, 22 Oct 2003 09:29:40 +0000
(09:29 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Wed, 22 Oct 2003 09:29:40 +0000
(09:29 -0000)
uClibc's libm has isinf/isinff, isnan/isnanf but not finite/finitef.
Here is a patch.
libm/fpmacros.c
patch
|
blob
|
history
diff --git
a/libm/fpmacros.c
b/libm/fpmacros.c
index
9682595
..
0fa4f9e
100644
(file)
--- 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)
/***********************************************************************