W3cubDocs

/Haxe C#

Math

package cs.system

@:abstract@:final@:libType@:csNative@:native("System.Math") Available on cs

Static variables

@:readOnly static read only E:Float

@:readOnly static read only PI:Float

Static methods

@:final @:overload static Abs (value:Decimal):Decimal

@:final @:overload static Abs (value:Int16):Int16

@:final @:overload static Abs (value:Int8):Int8

@:final @:overload static Abs (value:Int64):Int64

@:final @:overload static Abs (value:Int):Int

@:final @:overload static Abs (value:Single):Single

@:final @:overload static Abs (value:Float):Float

@:final @:overload static Acos (d:Float):Float

@:final @:overload static Asin (d:Float):Float

@:final @:overload static Atan (d:Float):Float

@:final @:overload static Atan2 (y:Float, x:Float):Float

@:final @:overload static BigMul (a:Int, b:Int):Int64

@:final @:overload static Ceiling (d:Decimal):Decimal

@:final @:overload static Ceiling (a:Float):Float

@:final @:overload static Cos (d:Float):Float

@:final @:overload static Cosh (value:Float):Float

@:final @:overload static DivRem (a:Int, b:Int, result:Out<Int>):Int

@:final @:overload static DivRem (a:Int64, b:Int64, result:Out<Int64>):Int64

@:final @:overload static Exp (d:Float):Float

@:final @:overload static Floor (d:Float):Float

@:final @:overload static Floor (d:Decimal):Decimal

@:final @:overload static IEEERemainder (x:Float, y:Float):Float

@:final @:overload static Log (a:Float, newBase:Float):Float

@:final @:overload static Log (d:Float):Float

@:final @:overload static Log10 (d:Float):Float

@:final @:overload static Max (val1:UInt8, val2:UInt8):UInt8

@:final @:overload static Max (val1:UInt16, val2:UInt16):UInt16

@:final @:overload static Max (val1:UInt64, val2:UInt64):UInt64

@:final @:overload static Max (val1:UInt, val2:UInt):UInt

@:final @:overload static Max (val1:Int16, val2:Int16):Int16

@:final @:overload static Max (val1:Int8, val2:Int8):Int8

@:final @:overload static Max (val1:Int64, val2:Int64):Int64

@:final @:overload static Max (val1:Int, val2:Int):Int

@:final @:overload static Max (val1:Single, val2:Single):Single

@:final @:overload static Max (val1:Float, val2:Float):Float

@:final @:overload static Max (val1:Decimal, val2:Decimal):Decimal

@:final @:overload static Min (val1:UInt8, val2:UInt8):UInt8

@:final @:overload static Min (val1:UInt16, val2:UInt16):UInt16

@:final @:overload static Min (val1:UInt64, val2:UInt64):UInt64

@:final @:overload static Min (val1:UInt, val2:UInt):UInt

@:final @:overload static Min (val1:Int16, val2:Int16):Int16

@:final @:overload static Min (val1:Int8, val2:Int8):Int8

@:final @:overload static Min (val1:Int64, val2:Int64):Int64

@:final @:overload static Min (val1:Int, val2:Int):Int

@:final @:overload static Min (val1:Single, val2:Single):Single

@:final @:overload static Min (val1:Float, val2:Float):Float

@:final @:overload static Min (val1:Decimal, val2:Decimal):Decimal

@:final @:overload static Pow (x:Float, y:Float):Float

@:final @:overload static Round (d:Decimal):Decimal

@:final @:overload static Round (value:Float, digits:Int, mode:MidpointRounding):Float

@:final @:overload static Round (value:Float, mode:MidpointRounding):Float

@:final @:overload static Round (value:Float, digits:Int):Float

@:final @:overload static Round (a:Float):Float

@:final @:overload static Round (d:Decimal, decimals:Int, mode:MidpointRounding):Decimal

@:final @:overload static Round (d:Decimal, mode:MidpointRounding):Decimal

@:final @:overload static Round (d:Decimal, decimals:Int):Decimal

@:final @:overload static Sign (value:Decimal):Int

@:final @:overload static Sign (value:Int16):Int

@:final @:overload static Sign (value:Int8):Int

@:final @:overload static Sign (value:Int64):Int

@:final @:overload static Sign (value:Int):Int

@:final @:overload static Sign (value:Single):Int

@:final @:overload static Sign (value:Float):Int

@:final @:overload static Sin (a:Float):Float

@:final @:overload static Sinh (value:Float):Float

@:final @:overload static Sqrt (d:Float):Float

@:final @:overload static Tan (a:Float):Float

@:final @:overload static Tanh (value:Float):Float

@:final @:overload static Truncate (d:Float):Float

@:final @:overload static Truncate (d:Decimal):Decimal

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