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 1b10564 commit 6da152aCopy full SHA for 6da152a
src/rulesets/Base/fastmath_able.jl
@@ -49,7 +49,7 @@ let
49
@scalar_rule atan(y, x) @setup(u = x ^ 2 + y ^ 2) (x / u, -y / u)
50
@scalar_rule sincos(x) @setup((sinx, cosx) = Ω) cosx -sinx
51
# the position of the minus sign below warrants the correct type for π
52
- @scalar_rule sincospi(x) @setup((sinpix, cospix) = Ω) (π * cospix, π * (-sinpix))
+ @scalar_rule sincospi(x) @setup((sinpix, cospix) = Ω) (π * cospix) (π * (-sinpix))
53
54
# exponents
55
@scalar_rule cbrt(x) inv(3 * Ω ^ 2)
0 commit comments