Math

cs.system.Math (extern final class)

Static Members

PI: Float


Abs(value: Decimal): Decimal
Name Type
value Decimal
Returns
Decimal

Ceiling(d: Decimal): Decimal
Name Type
d Decimal
Returns
Decimal

BigMul(a: Int, b: Int): haxe.Int64
Name Type
a Int
b Int
Returns
haxe.Int64

DivRem(a: Int, b: Int, result: cs.Out): Int
Name Type
a Int
b Int
result cs.Out
Returns
Int

Floor(d: Float): Float
Name Type
d Float
Returns
Float

IEEERemainder(x: Float, y: Float): Float
Name Type
x Float
y Float
Returns
Float

Log(a: Float, newBase: Float): Float
Name Type
a Float
newBase Float
Returns
Float

Name Type
val1 cs.types.UInt8
val2 cs.types.UInt8
Returns
cs.types.UInt8

Name Type
val1 cs.types.UInt8
val2 cs.types.UInt8
Returns
cs.types.UInt8

Round(d: Decimal): Decimal
Name Type
d Decimal
Returns
Decimal

Truncate(d: Float): Float
Name Type
d Float
Returns
Float

Sign(value: Decimal): Int
Name Type
value Decimal
Returns
Int

Sin(a: Float): Float
Name Type
a Float
Returns
Float

Cos(d: Float): Float
Name Type
d Float
Returns
Float

Tan(a: Float): Float
Name Type
a Float
Returns
Float

Sinh(value: Float): Float
Name Type
value Float
Returns
Float

Cosh(value: Float): Float
Name Type
value Float
Returns
Float

Tanh(value: Float): Float
Name Type
value Float
Returns
Float

Acos(d: Float): Float
Name Type
d Float
Returns
Float

Asin(d: Float): Float
Name Type
d Float
Returns
Float

Atan(d: Float): Float
Name Type
d Float
Returns
Float

Atan2(y: Float, x: Float): Float
Name Type
y Float
x Float
Returns
Float

Exp(d: Float): Float
Name Type
d Float
Returns
Float

Log10(d: Float): Float
Name Type
d Float
Returns
Float

Pow(x: Float, y: Float): Float
Name Type
x Float
y Float
Returns
Float

Sqrt(d: Float): Float
Name Type
d Float
Returns
Float

Metadata

Name Parameters
:nativeGen -
:abstract -
:libType -
:csNative -