Math class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
abs(num x)
→ num
-
-
acos(num x)
→ double
-
-
asin(num x)
→ double
-
-
atan(double x)
→ double
-
-
atan2(num x, num y)
→ double
-
-
ceil(num x)
→ int
-
-
cos(num x)
→ double
-
-
exp(num x)
→ double
-
-
floor(num x)
→ int
-
-
log(num x)
→ num
-
-
log10(num x)
→ num
-
-
log2(num x)
→ double
-
-
max<T extends num>(T x, T y)
→ T
-
-
max3(num x, num y, num z)
→ num
-
-
min<T extends num>(T x, T y)
→ T
-
-
min3(num x, num y, num z)
→ num
-
-
pow(num x, num y)
→ num
-
-
randFloat(num low, num high)
→ double
-
-
randFloatSpread(num range)
→ double
-
-
random()
→ double
-
-
randomFromA2B(num a, num b)
→ double
-
-
round(num x)
→ int
-
-
sign(double x)
→ double
-
-
sin(num x)
→ double
-
-
sqrt(num x)
→ double
-
-
tan(num x)
→ double
-