projects
/
debian
/
gzip
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 1.4
[debian/gzip]
/
lib
/
isnan.c
diff --git
a/lib/isnan.c
b/lib/isnan.c
index e748c1c906fb43c69d90e8ac9fe0cae0789b1f06..ee9fa8b6440d9758a7906eeeae2518bdb962cf5c 100644
(file)
--- a/
lib/isnan.c
+++ b/
lib/isnan.c
@@
-1,5
+1,5
@@
/* Test for NaN that does not need libm.
/* Test for NaN that does not need libm.
- Copyright (C) 2007-20
09
Free Software Foundation, Inc.
+ Copyright (C) 2007-20
10
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-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;
}