Sunday, November 20, 2016

Re: Problem with GWT 2.8

At least it is inconsistent with what the JVM would do, and appears to be different from what was seen in earlier versions of GWT. Can you file this at

On Sunday, November 20, 2016 at 5:35:44 PM UTC-6, Kevin Langille wrote:
Thanks for the reply.

Compiling with pretty shows the issue.

if (!(Math.abs(x - y) < 0.0001))

gets turned into

if (Math.abs(x - y) >= 0.0001)

So when Math.abs(x - y) results in NaN the if always results in false.

In my mind this is a mistake because it doesn't accurately represent what is happening in Java. Is it enough to report it here or what should I do now?

You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment