Julian Brost 2d6d87d10f Convert::ToString(double): handle integral values too large for long long correctly
Even if a double represents an integer value, it might not be safe to cast it
to long long as it may overflow the type. Instead just use print the double
value with 0 decimals using std::setprecision.

Before:

    <1> => 18446744073709551616.to_string()
    "-9223372036854775808"

After:

    <1> => 18446744073709551616.to_string()
    "18446744073709551616"
2021-04-27 17:31:50 +02:00
..
2021-03-23 13:13:47 +01:00
2020-06-17 10:31:40 +02:00
2020-06-17 10:31:40 +02:00
2019-05-24 16:25:32 +02:00
2021-02-03 09:54:57 +01:00
2021-02-03 09:54:57 +01:00
2020-04-03 12:47:36 +02:00
2021-02-03 09:54:57 +01:00
2019-11-08 11:13:26 +01:00
2020-12-25 23:27:08 +01:00
2021-02-03 09:54:57 +01:00
2021-02-03 09:54:57 +01:00
2021-02-03 09:54:57 +01:00
2021-02-03 09:54:57 +01:00
2021-02-03 09:54:57 +01:00
2021-02-03 09:54:57 +01:00