projects
/
platform
/
upstream
/
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
3ebf8f3
..
435d0b5
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;