W3cubDocs

/Haxe C++

NativeMath

package cpp

@:noPackageRestrict Available on cpp

Static methods

@:native("_hx_cast_int") static castInt (f:Float):Int

@:native("_hx_fast_floor") static fastInt (f:Float):Int

@:native("_hx_idiv") static idiv (num:Int, denom:Int):Int

@:native("_hx_imod") static imod (num:Int, denom:Int):Int

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cpp/NativeMath.html