@@ -15,85 +15,7 @@ function __init__()
1515 end
1616end
1717
18- # # list all functions
19- # all functions that work for Floats and ComplexFloats
20- unary_real_complex = (
21- (:acos, :acos!, :Acos),
22- (:asin, :asin!, :Asin),
23- (:acosh, :acosh!, :Acosh),
24- (:asinh, :asinh!, :Asinh),
25- (:sqrt, :sqrt!, :Sqrt),
26- (:exp, :exp!, :Exp),
27- (:log, :log!, :Ln),
28- )
29-
30- binary_real_complex = (
31- (:pow, :pow!, :Pow, true ),
32- (:divide, :divide!, :Div, true ),
33- )
34-
35- # all functions that work for Floats only
36- unary_real = (
37- (:cbrt, :cbrt!, :Cbrt),
38- (:expm1, :expm1!, :Expm1),
39- (:log1p, :log1p!, :Log1p),
40- (:log2, :log2!, :Log2),
41- (:abs, :abs!, :Abs),
42- (:abs2, :abs2!, :Sqr),
43- (:ceil, :ceil!, :Ceil),
44- (:floor, :floor!, :Floor),
45- (:round, :round!, :Round),
46- (:trunc, :trunc!, :Trunc),
47- (:cospi, :cospi!, :Cospi),
48- (:sinpi, :sinpi!, :Sinpi),
49- (:tanpi, :tanpi!, :Tanpi),
50- (:acospi, :acospi!, :Acospi),
51- (:asinpi, :asinpi!, :Asinpi),
52- (:atanpi, :atanpi!, :Atanpi),
53- (:cosd, :cosd!, :Cosd),
54- (:sind, :sind!, :Sind),
55- (:tand, :tand!, :Tand),
56- # Enabled only for Real. MKL guarantees higher accuracy, but at a
57- # substantial performance cost.
58- (:atan, :atan!, :Atan),
59- (:cos, :cos!, :Cos),
60- (:sin, :sin!, :Sin),
61- (:tan, :tan!, :Tan),
62- (:atanh, :atanh!, :Atanh),
63- (:cosh, :cosh!, :Cosh),
64- (:sinh, :sinh!, :Sinh),
65- (:tanh, :tanh!, :Tanh),
66- (:log10, :log10!, :Log10),
67- # now in SpecialFunctions (make smart, maybe?)
68- (:erf, :erf!, :Erf),
69- (:erfc, :erfc!, :Erfc),
70- (:erfinv, :erfinv!, :ErfInv),
71- (:erfcinv, :erfcinv!, :ErfcInv),
72- (:lgamma, :lgamma!, :LGamma),
73- (:gamma, :gamma!, :TGamma),
74- # Not in Base
75- (:inv_cbrt, :inv_cbrt!, :InvCbrt),
76- (:inv_sqrt, :inv_sqrt!, :InvSqrt),
77- (:pow2o3, :pow2o3!, :Pow2o3),
78- (:pow3o2, :pow3o2!, :Pow3o2),
79- (:cdfnorm, :cdfnorm!, :CdfNorm),
80- )
81-
82- binary_real = (
83- (:atan, :atan!, :Atan2, false ),
84- (:hypot, :hypot!, :Hypot, false ),
85- # Not in Base
86- (:atanpi, :atanpi!, :Atan2pi, false ),
87- )
88-
89- unary_complex_in = (
90- (:abs, :abs!, :Abs),
91- (:angle, :angle!, :Arg),
92- )
93-
94- unary_complex_inout = (
95- (:conj, :conj!, :Conj),
96- )
18+ include(" function_list.jl" )
9719
9820# # define functions from previous list for all eligible input types
9921
0 commit comments