projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecfcbd6
)
(unpack_d): Check fraction not sign to distinquish QNaN.
author
Jim Wilson
<wilson@gcc.gnu.org>
Thu, 3 Jul 1997 21:37:23 +0000
(14:37 -0700)
committer
Jim Wilson
<wilson@gcc.gnu.org>
Thu, 3 Jul 1997 21:37:23 +0000
(14:37 -0700)
From-SVN: r14386
gcc/config/fp-bit.c
patch
|
blob
|
history
diff --git
a/gcc/config/fp-bit.c
b/gcc/config/fp-bit.c
index 1f6e4082bca7f94f80a8a4fe708326f07101c872..52103548bef8babd188b497059b301adb928a9ac 100644
(file)
--- a/
gcc/config/fp-bit.c
+++ b/
gcc/config/fp-bit.c
@@
-546,13
+546,13
@@
unpack_d (FLO_union_type * src, fp_number_type * dst)
else
{
/* Non zero fraction, means nan */
- if (
sign
)
+ if (
fraction & QUIET_NAN
)
{
- dst->class = CLASS_
S
NAN;
+ dst->class = CLASS_
Q
NAN;
}
else
{
- dst->class = CLASS_
Q
NAN;
+ dst->class = CLASS_
S
NAN;
}
/* Keep the fraction part as the nan number */
dst->fraction.ll = fraction;