projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
351f160
)
re PR other/64370 (sreal.c:125:23: error: 'exp2' was not declared in this scope)
author
Jakub Jelinek
<jakub@redhat.com>
Mon, 12 Jan 2015 20:30:09 +0000
(21:30 +0100)
committer
Jakub Jelinek
<jakub@gcc.gnu.org>
Mon, 12 Jan 2015 20:30:09 +0000
(21:30 +0100)
PR other/64370
* sreal.c (sreal::to_double): Use ldexp instead of scalbnl.
From-SVN: r219489
gcc/ChangeLog
patch
|
blob
|
history
gcc/sreal.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 4fc60ef80e5c52b25f23bba3e830ab51f7d00039..775efde21b4785f098bb305f14cece1739a9dd1b 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-1,3
+1,8
@@
+2015-01-12 Jakub Jelinek <jakub@redhat.com>
+
+ PR other/64370
+ * sreal.c (sreal::to_double): Use ldexp instead of scalbnl.
+
2015-01-12 Jeff Law <law@redhat.com>
PR target/64461
diff --git
a/gcc/sreal.c
b/gcc/sreal.c
index 622fc2d2136e778a719190f3a10a9f4390e22a74..94b75dd866049346044b7c2c84f6ca48110a3012 100644
(file)
--- a/
gcc/sreal.c
+++ b/
gcc/sreal.c
@@
-122,7
+122,7
@@
sreal::to_double () const
{
double val = m_sig;
if (m_exp)
- val =
scalbln
(val, m_exp);
+ val =
ldexp
(val, m_exp);
return val;
}