We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5bc298 commit 148041fCopy full SHA for 148041f
src/SpecialFunctions.jl
@@ -18,8 +18,6 @@ import LogExpFunctions
18
using OpenLibm_jll
19
using OpenSpecFun_jll
20
21
-using Base.Math: fastabs
22
-
23
export
24
airyai,
25
airyaiprime,
@@ -118,4 +116,9 @@ for f in (:beta, :lbeta)
118
116
end
119
117
polygamma(m::Integer, x::Missing) = missing
120
+# `fastabs` is identical to `Base.Math.fastabs` which is not used here since it is not public
+# https://github.com/JuliaLang/julia/blob/93fb785831dcfcc442f82fab8746f0244c5274ae/base/special/trig.jl#L1057
121
+fastabs(x::Number) = abs(x)
122
+fastabs(x::Complex) = abs(real(x)) + abs(imag(x))
123
+
124
end # module
0 commit comments