projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
link-warning: make usage consistent
[gnulib.git]
/
lib
/
isnan.c
diff --git
a/lib/isnan.c
b/lib/isnan.c
index
e748c1c
..
cae819c
100644
(file)
--- a/
lib/isnan.c
+++ b/
lib/isnan.c
@@
-140,10
+140,10
@@
FUNC (DOUBLE x)
-Infinity, which have the same exponent. */
m.value = x;
if (((m.word[EXPBIT0_WORD] ^ nan.word[EXPBIT0_WORD])
-Infinity, which have the same exponent. */
m.value = x;
if (((m.word[EXPBIT0_WORD] ^ nan.word[EXPBIT0_WORD])
- & (EXP_MASK << EXPBIT0_BIT))
- == 0)
+
& (EXP_MASK << EXPBIT0_BIT))
+
== 0)
return (memcmp (&m.value, &plus_inf, SIZE) != 0
return (memcmp (&m.value, &plus_inf, SIZE) != 0
- && memcmp (&m.value, &minus_inf, SIZE) != 0);
+
&& memcmp (&m.value, &minus_inf, SIZE) != 0);
else
return 0;
}
else
return 0;
}