Commit e040d8a0 by Uros Bizjak Committed by Uros Bizjak

sreal.c (sreal::to_int): Use INTTYPE_MAXIMUM (int64_t) instead of INT64_MAX.

	* sreal.c (sreal::to_int): Use INTTYPE_MAXIMUM (int64_t)
	instead of INT64_MAX.

From-SVN: r217340
parent 51f784f5
2014-11-11 Uros Bizjak <ubizjak@gmail.com>
* sreal.c (sreal::to_int): Use INTTYPE_MAXIMUM (int64_t)
instead of INT64_MAX.
2014-11-11 Tobias Burnus <burnus@net-b.de>
* doc/install.texi (Prerequisites): Remove CLooG.
......@@ -156,7 +156,7 @@ sreal::to_int () const
if (m_exp <= -SREAL_BITS)
return 0;
if (m_exp >= SREAL_PART_BITS)
return INT64_MAX;
return INTTYPE_MAXIMUM (int64_t);
if (m_exp > 0)
return m_sig << m_exp;
if (m_exp < 0)
......
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