Files
Nim/lib
Sergey Avseyev 8941f5bd9c Use safe limit for toRational(float, int) (#7021)
Current limit `high(int32)` is not safe for 32-bit platforms
and it will overflow (even when running its own test suite).
Similar behaviour would be when try to set limit to `high(int64)`
on 64-bit platforms.

This change selects safe maximum value based on platform
size of int. Safe maximum considered half of int size (for
backward compatiblity).
2018-01-03 12:41:10 +01:00
..
2017-02-20 17:24:19 +02:00
fix
2017-12-14 18:40:20 +00:00
2017-12-20 14:11:22 +02:00
2017-12-18 23:11:28 +01:00
2017-07-12 10:23:48 +02:00
2013-03-16 23:53:07 +01:00
2014-08-28 09:59:26 +02:00