mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-05 08:09:34 +08:00
re PR other/64370 (sreal.c:125:23: error: 'exp2' was not declared in this scope)
PR other/64370 * sreal.c (sreal::to_double): Use ldexp instead of scalbnl. From-SVN: r219489
This commit is contained in:
parent
351f160060
commit
aadb701b4c
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user