object MathDeprecated: Use top-level functions from kotlin.math package instead.
Exposes the JavaScript Math object to Kotlin.
val PI: Double
fun abs(value: Double): Double
fun acos(value: Double): Double
fun asin(value: Double): Double
fun atan(value: Double): Double
fun atan2(y: Double, x: Double): Double
fun ceil(value: Number): Int
fun cos(value: Double): Double
fun exp(value: Double): Double
fun floor(value: Number): Int
fun log(value: Double): Double
fun max(vararg values: Int): Int
fun max(vararg values: Float): Float
fun max(vararg values: Double): Double
fun min(vararg values: Int): Int
fun min(vararg values: Float): Float
fun min(vararg values: Double): Double
fun pow(base: Double, exp: Double): Double
fun random(): Double
fun round(value: Number): Int
fun sin(value: Double): Double
fun sqrt(value: Double): Double
fun tan(value: Double): Double
Returns the greater of two values.
fun Math.max(a: Long, b: Long): Long
Returns the smaller of two values.
fun Math.min(a: Long, b: Long): Long
© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.js/-math/index.html