]> git.ipfire.org Git - thirdparty/gcc.git/commit
sreal.h (SREAL_PART_BITS): Change to 31; remove seemingly unnecessary comment that...
authorJan Hubicka <jh@suse.cz>
Thu, 30 Aug 2018 12:58:42 +0000 (14:58 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 30 Aug 2018 12:58:42 +0000 (12:58 +0000)
commita5f4d3d6a1379ad4a806e65b2fc7ac86bbaf72ae
tree36987055a6347d3f684dd6e9707d49cf4a97dd2b
parentb1d5f644929182de05cf2bb940a6c417ec28f29a
sreal.h (SREAL_PART_BITS): Change to 31; remove seemingly unnecessary comment that it has to be even number.

* sreal.h (SREAL_PART_BITS): Change to 31; remove seemingly unnecessary
comment that it has to be even number.
(class sreal): Change m_sig type to int32_t.
* sreal.c (sreal::dump, sreal::to_int, opreator+, operator-): Use
int64_t for temporary calculations.
(sreal_verify_basics): Drop one bit from minimum and maximum.

From-SVN: r263981
gcc/ChangeLog
gcc/sreal.c
gcc/sreal.h