Fixed silly format error
Needed other bracket
This commit is contained in:
parent
6165e8498c
commit
6d1532439b
1 changed files with 1 additions and 1 deletions
|
|
@ -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.}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue