Some time in the far future, this will cause issues, since double can't contain full long range, but let's leave this for future generations :-P
@@ -144,7 +144,7 @@ using haxe.Int64;
public static function time() : Float
{
- return cast(System.currentTimeMillis().div(Int64.ofInt(1000)), Float);
+ return cast(System.currentTimeMillis(), Float) / 1000;
}
public static function cpuTime() : Float