Haxe Math standard library extensions