KT-17853: Kotlin.js switched parameters of Math.atan2
https://youtrack.jetbrains.com/issue/KT-17853 The current exposition of the JavaScript [Math object] switched the parameters names. The correct version is `atan2(y,x)`.
This commit is contained in:
@@ -11,7 +11,7 @@ public external object Math {
|
||||
public fun acos(value: Double): Double
|
||||
public fun asin(value: Double): Double
|
||||
public fun atan(value: Double): Double
|
||||
public fun atan2(x: Double, y: Double): Double
|
||||
public fun atan2(y: Double, x: Double): Double
|
||||
public fun cos(value: Double): Double
|
||||
public fun sin(value: Double): Double
|
||||
public fun exp(value: Double): Double
|
||||
|
||||
Reference in New Issue
Block a user