Skip to content

Commit f991686

Browse files
committed
Adding log2, log1p, logb, and ilogb.
1 parent 64cb0f3 commit f991686

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pixie/math.pxi

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,15 @@
2323

2424
(i/defcfn exp)
2525
(i/defcfn ldexp)
26+
2627
(i/defcfn log)
28+
(i/defcfn log2)
2729
(i/defcfn log10)
28-
;(i/defcfn modf) ;; Needs ffi support
30+
(i/defcfn log1p)
31+
(i/defcfn logb)
32+
(i/defcfn ilogb)
33+
34+
;; (i/defcfn modf) ;; Needs ffi support
2935
(i/defcfn pow)
3036
(i/defcfn sqrt)
3137
(i/defcfn ceil)

0 commit comments

Comments
 (0)