On Tue, 10 Feb 2026 19:05:18 GMT, Andy Goryachev <[email protected]> wrote:
>> On the JVM, `-0 == 0`. It seems to me that this sentence just spells it out, >> doesn't it? > > I don't know. The new parser parses "-0.0" as -0.0, and while (-0.0 == 0.0), > the result of some other operations is different (1/-0.0 = -Infinity). > > Does it constitutes a regression risk for applications? `CssNumberParser` parses "-0" correctly as -0, just like `Double.parseDouble()` currently does. The existing code in `Color` is unchanged. ------------- PR Review Comment: https://git.openjdk.org/jfx/pull/2069#discussion_r2790083018
