@@ -51,19 +51,42 @@ for (meth, libnm, modu) in [
5151 (:acsch ,:acsch ,:Base ),
5252 (:atanh ,:atanh ,:Base ),
5353 (:acoth ,:acoth ,:Base ),
54- (:gamma ,:gamma ,:SpecialFunctions ),
5554 (:log ,:log ,:Base ),
5655 (:sqrt ,:sqrt ,:Base ),
5756 (:exp ,:exp ,:Base ),
5857 (:sign , :sign , :Base ),
59- (:eta , :dirichlet_eta , :SpecialFunctions ),
60- (:zeta , :zeta , :SpecialFunctions ),
58+ (:ceil , :ceiling , :Base ),
59+ (:floor , :floor , :Base )
6160 ]
6261 eval (:(import $ modu.$ meth))
6362 IMPLEMENT_ONE_ARG_FUNC (:($ modu.$ meth), libnm)
6463end
64+
65+ for (meth, libnm, modu) in [
66+ (:gamma ,:gamma ,:SpecialFunctions ),
67+ (:loggamma ,:loggamma ,:SpecialFunctions ),
68+ (:eta ,:dirichlet_eta ,:SpecialFunctions ),
69+ (:zeta ,:zeta ,:SpecialFunctions ),
70+ (:erf , :erf , :SpecialFunctions ),
71+ (:erfc , :erfc , :SpecialFunctions )
72+ ]
73+ eval (:(import $ modu.$ meth))
74+ IMPLEMENT_ONE_ARG_FUNC (:($ modu.$ meth), libnm)
75+ end
76+
77+ for (meth, libnm, modu) in [
78+ (:beta , :beta , :SpecialFunctions ),
79+ (:polygamma , :polygamma , :SpecialFunctions ),
80+ (:loggamma ,:loggamma ,:SpecialFunctions ),
81+ ]
82+ eval (:(import $ modu.$ meth))
83+ IMPLEMENT_TWO_ARG_FUNC (:($ modu.$ meth), libnm)
84+ end
85+
6586Base. abs2 (x:: SymEngine.Basic ) = abs (x)^ 2
6687
88+
89+
6790if get_symbol (:basic_atan2 ) != C_NULL
6891 import Base. atan
6992 IMPLEMENT_TWO_ARG_FUNC (:(Base. atan), :atan2 )
0 commit comments