Math

package cs.system

Available on cs

Static variables

staticread onlyE:Float

staticread onlyPI:Float

Static methods

staticAbs(value:Decimal):Decimal

staticAbs(value:Int16):Int16

staticAbs(value:Int8):Int8

staticAbs(value:Int64):Int64

staticAbs(value:Int):Int

staticAbs(value:Single):Single

staticAbs(value:Float):Float

staticAcos(d:Float):Float

staticAsin(d:Float):Float

staticAtan(d:Float):Float

staticAtan2(y:Float, x:Float):Float

staticBigMul(a:Int, b:Int):Int64

staticCeiling(d:Decimal):Decimal

staticCeiling(a:Float):Float

staticCos(d:Float):Float

staticCosh(value:Float):Float

staticDivRem(a:Int, b:Int, result:Out<Int>):Int

staticDivRem(a:Int64, b:Int64, result:Out<Int64>):Int64

staticExp(d:Float):Float

staticFloor(d:Float):Float

staticFloor(d:Decimal):Decimal

staticIEEERemainder(x:Float, y:Float):Float

staticLog(a:Float, newBase:Float):Float

staticLog(d:Float):Float

staticLog10(d:Float):Float

staticMax(val1:UInt8, val2:UInt8):UInt8

staticMax(val1:UInt16, val2:UInt16):UInt16

staticMax(val1:UInt64, val2:UInt64):UInt64

staticMax(val1:UInt, val2:UInt):UInt

staticMax(val1:Int16, val2:Int16):Int16

staticMax(val1:Int8, val2:Int8):Int8

staticMax(val1:Int64, val2:Int64):Int64

staticMax(val1:Int, val2:Int):Int

staticMax(val1:Single, val2:Single):Single

staticMax(val1:Float, val2:Float):Float

staticMax(val1:Decimal, val2:Decimal):Decimal

staticMin(val1:UInt8, val2:UInt8):UInt8

staticMin(val1:UInt16, val2:UInt16):UInt16

staticMin(val1:UInt64, val2:UInt64):UInt64

staticMin(val1:UInt, val2:UInt):UInt

staticMin(val1:Int16, val2:Int16):Int16

staticMin(val1:Int8, val2:Int8):Int8

staticMin(val1:Int64, val2:Int64):Int64

staticMin(val1:Int, val2:Int):Int

staticMin(val1:Single, val2:Single):Single

staticMin(val1:Float, val2:Float):Float

staticMin(val1:Decimal, val2:Decimal):Decimal

staticPow(x:Float, y:Float):Float

staticRound(d:Decimal):Decimal

staticRound(value:Float, digits:Int, mode:MidpointRounding):Float

staticRound(value:Float, mode:MidpointRounding):Float

staticRound(value:Float, digits:Int):Float

staticRound(a:Float):Float

staticRound(d:Decimal, decimals:Int, mode:MidpointRounding):Decimal

staticRound(d:Decimal, mode:MidpointRounding):Decimal

staticRound(d:Decimal, decimals:Int):Decimal

staticSign(value:Decimal):Int

staticSign(value:Int16):Int

staticSign(value:Int8):Int

staticSign(value:Int64):Int

staticSign(value:Int):Int

staticSign(value:Single):Int

staticSign(value:Float):Int

staticSin(a:Float):Float

staticSinh(value:Float):Float

staticSqrt(d:Float):Float

staticTan(a:Float):Float

staticTanh(value:Float):Float

staticTruncate(d:Float):Float

staticTruncate(d:Decimal):Decimal

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cs/system/Math.html