Module:libdomPackage:org.milescript.javascriptParent:ObjectGenerated by MilescriptCompiler (Copyright 2008, Point5u LLC.)

org.milescript.javascript.Math

Inheritance : Object

Constructors

Signature
public Math()

Methods

NameSignature
absfloat abs(Literal a)
acosfloat acos(Literal b)
asinfloat asin(Literal s)
atanfloat atan(Literal a)
atan2float atan2(Literal a, Literal b)
ceilfloat ceil(Literal a)
cosfloat cos(Literal a)
expfloat exp(Literal a)
floorfloat floor(Literal a)
logfloat log(Literal a)
maxfloat max(int a, int b)
minfloat min(Literal a, Literal b)
powfloat pow(Literal a, Literal b)
randomfloat random()
roundfloat round(Literal a)
sinfloat sin(Literal a)
sqrtfloat sqrt(Literal a)
tanfloat tan(Literal a)

Properties

NameTypeComment
PI
core.float

Constructors

public Math()


Methods

abs

float abs(Literal a)

Returns
core.float

Parameters

NameTypeDescription
acore.Literal

acos

float acos(Literal b)

Returns
core.float

Parameters

NameTypeDescription
bcore.Literal

asin

float asin(Literal s)

Returns
core.float

Parameters

NameTypeDescription
score.Literal

atan

float atan(Literal a)

Returns
core.float

Parameters

NameTypeDescription
acore.Literal

atan2

float atan2(Literal a, Literal b)

Returns
core.float

Parameters

NameTypeDescription
acore.Literal
bcore.Literal

ceil

float ceil(Literal a)

Returns
core.float

Parameters

NameTypeDescription
acore.Literal

cos

float cos(Literal a)

Returns
core.float

Parameters

NameTypeDescription
acore.Literal

exp

float exp(Literal a)

Returns
core.float

Parameters

NameTypeDescription
acore.Literal

floor

float floor(Literal a)

Returns
core.float

Parameters

NameTypeDescription
acore.Literal

log

float log(Literal a)

Returns
core.float

Parameters

NameTypeDescription
acore.Literal

max

float max(int a, int b)

Returns
core.float

Parameters

NameTypeDescription
acore.int
bcore.int

min

float min(Literal a, Literal b)

Returns
core.float

Parameters

NameTypeDescription
acore.Literal
bcore.Literal

pow

float pow(Literal a, Literal b)

Returns
core.float

Parameters

NameTypeDescription
acore.Literal
bcore.Literal

random

float random()

Returns
core.float

round

float round(Literal a)

Returns
core.float

Parameters

NameTypeDescription
acore.Literal

sin

float sin(Literal a)

Returns
core.float

Parameters

NameTypeDescription
acore.Literal

sqrt

float sqrt(Literal a)

Returns
core.float

Parameters

NameTypeDescription
acore.Literal

tan

float tan(Literal a)

Returns
core.float

Parameters

NameTypeDescription
acore.Literal

Module:libdomPackage:org.milescript.javascriptParent:ObjectGenerated by MilescriptCompiler (Copyright 2008, Point5u LLC.)