Sunday, November 20, 2016

Re: Problem with GWT 2.8

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