OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test: get out of the endless while loop, when bind failed
[uclinux-h8/uClibc.git]
/
libm
/
s_isnan.c
diff --git
a/libm/s_isnan.c
b/libm/s_isnan.c
index
6263d1c
..
1bc49cb
100644
(file)
--- a/
libm/s_isnan.c
+++ b/
libm/s_isnan.c
@@
-1,4
+1,3
@@
-/* @(#)s_isnan.c 5.1 93/09/24 */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
@@
-10,10
+9,6
@@
* ====================================================
*/
* ====================================================
*/
-#if defined(LIBM_SCCS) && !defined(lint)
-static char rcsid[] = "$NetBSD: s_isnan.c,v 1.8 1995/05/10 20:47:36 jtc Exp $";
-#endif
-
/*
* isnan(x) returns 1 is x is nan, else 0;
* no branching!
/*
* isnan(x) returns 1 is x is nan, else 0;
* no branching!
@@
-22,13
+17,7
@@
static char rcsid[] = "$NetBSD: s_isnan.c,v 1.8 1995/05/10 20:47:36 jtc Exp $";
#include "math.h"
#include "math_private.h"
#include "math.h"
#include "math_private.h"
-libm_hidden_proto (__isnan)
-#ifdef __STDC__
- int __isnan(double x)
-#else
- int __isnan(x)
- double x;
-#endif
+int __isnan(double x)
{
int32_t hx,lx;
EXTRACT_WORDS(hx,lx,x);
{
int32_t hx,lx;
EXTRACT_WORDS(hx,lx,x);
@@
-37,9
+26,4
@@
libm_hidden_proto (__isnan)
hx = 0x7ff00000 - hx;
return (int)(((u_int32_t)hx)>>31);
}
hx = 0x7ff00000 - hx;
return (int)(((u_int32_t)hx)>>31);
}
-libm_hidden_def (__isnan)
-weak_alias (__isnan, isnan)
-#ifdef NO_LONG_DOUBLE
-strong_alias (__isnan, __isnanl)
-weak_alias (__isnan, isnanl)
-#endif
+libm_hidden_def(__isnan)