projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
241cea8
)
(asctoeg): `0.0eX' is zero, regardless of the exponent X.
author
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 28 Jun 1996 22:37:08 +0000
(18:37 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 28 Jun 1996 22:37:08 +0000
(18:37 -0400)
From-SVN: r12373
gcc/real.c
patch
|
blob
|
history
diff --git
a/gcc/real.c
b/gcc/real.c
index 3ebf8f32e7a1995114482386f14935c73e973da4..435d0b5d3fa1e021de5f6bd617b4e9cae92f6f69 100644
(file)
--- a/
gcc/real.c
+++ b/
gcc/real.c
@@
-4988,7
+4988,15
@@
asctoeg (ss, y, oprec)
/* Exponent interpretation */
expnt:
+ /* 0.0eXXX is zero, regardless of XXX. Check for the 0.0. */
+ for (k = 0; k < NI; k++)
+ {
+ if (yy[k] != 0)
+ goto read_expnt;
+ }
+ goto aexit;
+read_expnt:
esign = 1;
exp = 0;
++s;