Why haxe.Int64 doesn't have a built-in toFloat function is beyond me.

Static methods

staticfromFloat(f:Float):Int64

staticisToIntSafe(i:Int64):Bool

statictoFloat(i:Int64):Float

statictoIntSafe(i:Int64):Int