openGeeksLab / codenameone

Automatically exported from code.google.com/p/codenameone
0 stars 0 forks source link

NewVM: Math.floor(), Math.round() return wrong outputs for negative inputs #1334

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
On the new VM:

Math.floor(-1.0) ==> 0
Math.round(-1.0) ==> 0

Original issue reported on code.google.com by st...@weblite.ca on 5 Feb 2015 at 8:51

GoogleCodeExporter commented 8 years ago
Fixed.
https://code.google.com/p/codenameone/source/detail?r=2092

Original comment by st...@weblite.ca on 5 Feb 2015 at 8:52

GoogleCodeExporter commented 8 years ago

Original comment by st...@weblite.ca on 6 Feb 2015 at 4:13