Commit aadb701b by Jakub Jelinek Committed by Jakub Jelinek

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
parent 351f1600
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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment