| Issue 130: | Std.parseFloat constitency | |
| 1 person starred this issue and may be notified of changes. | Back to list |
The following unit tests fails on -cpp :
t( Math.isNaN(Std.parseFloat("")) );
t( Math.isNaN(Std.parseFloat("abcd")) );
t( Math.isNaN(Std.parseFloat("a10")) );
t( Math.isNaN(Std.parseFloat(null)) );
Using "strtod" instead of "atof" should fix the issue (this has already been patched in NekoVM).
Jul 20, 2011
Project Member
#1
gameh...@gmail.com
Status:
Fixed
|