On Mon, 31 Aug 2026 14:42:37 GMT, John Hendrikx <[email protected]> wrote:

>> This code uses `Math.round`, which saturates the `double` to the range of a 
>> `long`. So it can't ever represent very large doubles.
>
> Ah, yes, you're right it still uses the old `round` instead of `rint` :/

should we have a check for Double.MAX_VALUE to avoid possible misuse?

-------------

PR Review Comment: https://git.openjdk.org/jfx/pull/2278#discussion_r3897988833

Reply via email to