void
sreal::dump (FILE *file) const
{
- fprintf (file, "(%" PRIu64 " * 2^%d)", m_sig, m_exp);
+ fprintf (file, "(%" PRIi64 " * 2^%d)", m_sig, m_exp);
}
DEBUG_FUNCTION void
{
double val = m_sig;
if (m_exp)
- val *= exp2 (m_exp);
+ val = ldexp (val, m_exp);
return val;
}