summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorapense <apense@users.noreply.github.com>2015-06-24 16:17:11 -0400
committerapense <apense@users.noreply.github.com>2015-06-24 16:17:11 -0400
commit6d1532439b43af5e72bf8d94f65c31dfdfb25969 (patch)
treefaed01d549f79602e04f19e2b331ea3b98b37e66
parent6165e8498ca30043ef013392d5f38d0a3e9f40ec (diff)
downloadNim-6d1532439b43af5e72bf8d94f65c31dfdfb25969.tar.gz
Fixed silly format error
Needed other bracket
-rw-r--r--lib/pure/math.nim2
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.}
pre>
9af85fb69 ^


28394153a ^
9af85fb69 ^


9af85fb69 ^


















9af85fb69 ^


28394153a ^
9af85fb69 ^













796432ff9 ^



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95