BreakInfinity.cs
BreakInfinity.cs copied to clipboard
Double replacement for numbers that go over 1e308
Not really a big issue just more of an FYI since the readme only talks about the max of 1e(9e15) despite it going higher. The MAX_SAFE_INTEGER for JavaScript is 9,007,199,254,740,991,...
And all of that is in 4 lines! ```c# BigDouble a = 1e100; double b = (double)a; Console.WriteLine(b) // 1E+100 ```
I am implementing a cap on a value using `BigInteger.Min`, using `PositiveInfinity` to essentially mean "no cap". However, I found that when the value reached 10 (which changed the exponent),...
The only format which is acceptable now is `1e308` The formats that are throwing exceptions: - `1E308` - `1E+308` - `1e+308` - `e308` - `e+308` Related issue: https://github.com/Patashu/break_infinity.js/issues/36
There is a crash happened in Indonesia(Language) on Android when I called BigDouble.ToString() , I guess it caused by the defferent expression between Indonesia and others . By the way...
While trying out this package I noticed that the exponents don't seem to be working as expected. Typing '1000' into the left field in the Unity Inspector yields a value...
this one made by Pannoniae (https://github.com/Pannoniae/BreakEternity.cs) only goes to e1.79e308 so uh do you have any plans for a proper break_eternity.cs?