OverviewSingleDeprecatedPropertiesEventsXSL Parameters

window

class Math

Object
->Math

native class Math
extends Object
Native JavaScript class Math. Includes GI extensions.

Field Summary
native static Number
E
native static Number
LN10
native static Number
LN2
native static Number
LOG10E
native static Number
LOG2E
native static Number
PI
native static Number
SQRT1_2
native static Number
SQRT2
Method Summary
native static void
abs()
native static void
native static void
native static void
native static void
native static void
native static void
cos()
native static void
exp()
native static void
static boolean
isNaN(value : Object)
Deprecated. Use jsx3.util.numIsNaN() instead.
native static void
log()
native static void
max()
native static void
min()
static Number
modpos(v : Number, mod : Number)
Deprecated. Use jsx3.util.numMod() instead.
native static void
pow()
native static void
native static void
native static void
sin()
native static void
native static void
tan()
Methods Inherited From Object
toString
Field Detail

E

native static Number E

LN10

native static Number LN10

LN2

native static Number LN2

LOG10E

native static Number LOG10E

LOG2E

native static Number LOG2E

PI

native static Number PI

SQRT1_2

native static Number SQRT1_2

SQRT2

native static Number SQRT2
Method Detail

abs

native static void abs()

acos

native static void acos()

asin

native static void asin()

atan

native static void atan()

atan2

native static void atan2()

ceil

native static void ceil()

cos

native static void cos()

exp

native static void exp()

floor

native static void floor()

isNaN

static boolean isNaN(value : Object)
Deprecated. Use jsx3.util.numIsNaN() instead.
value == null || isNaN(value)

Parameters:

valueany value

Returns:

 

log

native static void log()

max

native static void max()

min

native static void min()

modpos

static Number modpos(v : Number, mod : Number)
Deprecated. Use jsx3.util.numMod() instead.
calculates a mod b, but the result is not allowed to be negative

Parameters:

va
modb

Returns:

a mod b if a >= 0, b + a mod b, if a < 0 

pow

native static void pow()

random

native static void random()

round

native static void round()

sin

native static void sin()

sqrt

native static void sqrt()

tan

native static void tan()