summaryrefslogtreecommitdiff
path: root/gcc/sreal.c
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2015-01-12 20:30:09 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2015-01-12 20:30:09 +0000
commite031f282998868721cda014a1c873ce75052ff75 (patch)
tree9d558c52a3759660ebc26f399a15923941e308f3 /gcc/sreal.c
parent7395619dd18adfd15bb6755a9d1833d735fe333b (diff)
downloadgcc-e031f282998868721cda014a1c873ce75052ff75.tar.gz
PR other/64370
* sreal.c (sreal::to_double): Use ldexp instead of scalbnl. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219489 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sreal.c')
-rw-r--r--gcc/sreal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/sreal.c b/gcc/sreal.c
index 622fc2d2136..94b75dd8660 100644
--- 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;
}