From a1beeb313fee19b4c9720ca68fde534e2ef587fe Mon Sep 17 00:00:00 2001 From: Araq Date: Sat, 4 Jan 2020 19:33:49 +0100 Subject: fixes #13032 --- lib/pure/math.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/pure') 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.} -- cgit 1.4.1-2-gfad0