projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* som.c (som_decode_symclass): Decode BSF_WEAK symbols in the same
[deliverable/binutils-gdb.git]
/
opcodes
/
tic30-dis.c
diff --git
a/opcodes/tic30-dis.c
b/opcodes/tic30-dis.c
index eac6c4571df329e9a4228927aa4639b44bddf1d9..9e57050f1302bd8bf9cc3221bcb96b4c202f1256 100644
(file)
--- a/
opcodes/tic30-dis.c
+++ b/
opcodes/tic30-dis.c
@@
-302,10
+302,17
@@
cnvt_tmsfloat_ieee (unsigned long tmsfloat, int size, float *ieeefloat)
{
if (mant == 0)
*ieeefloat = ERANGE;
+#ifdef HUGE_VALF
+ if (sign == 0)
+ *ieeefloat = HUGE_VALF;
+ else
+ *ieeefloat = -HUGE_VALF;
+#else
if (sign == 0)
*ieeefloat = 1.0 / 0.0;
else
*ieeefloat = -1.0 / 0.0;
+#endif
return 1;
}
exp >>= 1;
This page took
0.030456 seconds
and
4
git commands to generate.