diff options
author | apense <apense@users.noreply.github.com> | 2015-06-24 16:17:11 -0400 |
---|---|---|
committer | apense <apense@users.noreply.github.com> | 2015-06-24 16:17:11 -0400 |
commit | 6d1532439b43af5e72bf8d94f65c31dfdfb25969 (patch) | |
tree | faed01d549f79602e04f19e2b331ea3b98b37e66 | |
parent | 6165e8498ca30043ef013392d5f38d0a3e9f40ec (diff) | |
download | Nim-6d1532439b43af5e72bf8d94f65c31dfdfb25969.tar.gz |
Fixed silly format error
Needed other bracket
-rw-r--r-- | lib/pure/math.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/math.nim b/lib/pure/math.nim index 4fae03cc5..db1f27fc4 100644 --- a/lib/pure/math.nim +++ b/lib/pure/math.nim @@ -348,7 +348,7 @@ else: proc cosh*(x: float32): float32 = return (exp(x)+exp(-x))*0.5 proc cosh*(x: float64): float64 = return (exp(x)+exp(-x))*0.5 proc hypot*[T: float32|float64](x, y: T): T = return sqrt(x*x + y*y) - proc sinh*]T: float32|float64](x: T): T = return (exp(x)-exp(-x))*0.5 + proc sinh*[T: float32|float64](x: T): T = return (exp(x)-exp(-x))*0.5 proc sin*(x: float32): float32 {.importc: "Math.sin", nodecl.} proc sin*(x: float64): float64 {.importc: "Math.sin", nodecl.} proc tan*(x: float32): float32 {.importc: "Math.tan", nodecl.} |