Mark Winterhalder a écrit :
Hi,class DoubleTest { public static function main () : Void { neko.io.File.read( "testfile", true ).readDouble(); } } doesn't work for me. Input.readInt31() works fine, but readDouble() and readFloat() throw an uncaught exception: $ haxe -neko test.n -main DoubleTest -cmd "neko test.n" Called from <null> line 2 Called from DoubleTest.hx line 5 Called from haxe/io/Input.hx line 145 Uncaught exception - [EMAIL PROTECTED] Error : Command failed This is on the NekoVM 1.7.1 that came with the haXe installer, on Ubuntu 8.04.
Fixed in haXe CVS. Please set explicitely the Input bigEndian to "false" before reading float or double.
Best, Nicolas -- Neko : One VM to run them all (http://nekovm.org)
