Skip to content

Commit 11c5fee

Browse files
committed
Grouping the trig functions more normally.
1 parent 2290fdb commit 11c5fee

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

pixie/math.pxi

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,19 @@
44
(i/with-config {:library "m"
55
:cxx-flags ["-lm"]
66
:includes ["math.h"]}
7-
(i/defcfn acos)
7+
(i/defcfn sin)
8+
(i/defcfn cos)
9+
(i/defcfn tan)
10+
811
(i/defcfn asin)
12+
(i/defcfn acos)
913
(i/defcfn atan)
10-
(i/defcfn atan2)
11-
(i/defcfn cos)
12-
(i/defcfn cosh)
13-
(i/defcfn sin)
14+
(i/defcfn atan2) ; Arc tangent function of two variables.
15+
1416
(i/defcfn sinh)
15-
(i/defcfn tan)
17+
(i/defcfn cosh)
1618
(i/defcfn tanh)
19+
1720
(i/defcfn exp)
1821
(i/defcfn ldexp)
1922
(i/defcfn log)

0 commit comments

Comments
 (0)