On Fri, 20 Feb 2026 01:31:18 GMT, Michael Strauß <[email protected]> wrote:
>> I've added these tests. The reason why >> `assertSameDouble(0.19999999999999998335, "0.19999999999999998335")` fails >> is because there are more digits in the number than fit in a `long`, and >> thus the actual number being parsed is truncated. > > Interestingly, the test passes if we use Lemire's algorithm with the > truncated significand instead of using the fallback. This might be a > coincidence. so this is basically an invalid test, right? jshell> var a = 0.19999999999999998335; a ==> 0.19999999999999998 ------------- PR Review Comment: https://git.openjdk.org/jfx/pull/2069#discussion_r2835404935
