summary refs log tree commit diff stats
path: root/lib/pure
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2020-01-04 19:33:49 +0100
committerAraq <rumpf_a@web.de>2020-01-04 19:33:49 +0100
commita1beeb313fee19b4c9720ca68fde534e2ef587fe (patch)
tree58bbcfe88f09dd06c43b044d17e7a1f914938a7b /lib/pure
parent0f6987a86ef6b8bf6839c37c9109dfcc6a4e81af (diff)
downloadNim-a1beeb313fee19b4c9720ca68fde534e2ef587fe.tar.gz
fixes #13032
Diffstat (limited to 'lib/pure')
-rw-r--r--lib/pure/math.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/math.nim b/lib/pure/math.nim
index 362472584..7d31912c9 100644
--- a/lib/pure/math.nim
+++ b/lib/pure/math.nim
@@ -526,7 +526,7 @@ else: # JS
   proc arcsin*[T: float32|float64](x: T): T {.importc: "Math.asin", nodecl.}
   proc arccos*[T: float32|float64](x: T): T {.importc: "Math.acos", nodecl.}
   proc arctan*[T: float32|float64](x: T): T {.importc: "Math.atan", nodecl.}
-  proc arctan2*[T: float32|float64](y, x: T): T {.importC: "Math.atan2", nodecl.}
+  proc arctan2*[T: float32|float64](y, x: T): T {.importc: "Math.atan2", nodecl.}
 
   proc arcsinh*[T: float32|float64](x: T): T {.importc: "Math.asinh", nodecl.}
   proc arccosh*[T: float32|float64](x: T): T {.importc: "Math.acosh", nodecl.}
@@ -772,7 +772,7 @@ when not defined(JS): # C
 else: # JS
   proc hypot*(x, y: float32): float32 {.importc: "Math.hypot", varargs, nodecl.}
   proc hypot*(x, y: float64): float64 {.importc: "Math.hypot", varargs, nodecl.}
-  proc pow*(x, y: float32): float32 {.importC: "Math.pow", nodecl.}
+  proc pow*(x, y: float32): float32 {.importc: "Math.pow", nodecl.}
   proc pow*(x, y: float64): float64 {.importc: "Math.pow", nodecl.}
   proc floor*(x: float32): float32 {.importc: "Math.floor", nodecl.}
   proc floor*(x: float64): float64 {.importc: "Math.floor", nodecl.}