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.
2 parents 7298256 + 75d01ee commit d9dfab7Copy full SHA for d9dfab7
src/Math/Math.jl
@@ -46,7 +46,7 @@ end
46
computes sincos(sum(xs)) where xs are sorted by absolute value
47
Doing this is much more accurate than the naive sincos(sum(xs))
48
"""
49
-function sincos_sum(xs::Vararg{T, N})::T where {T<:Base.IEEEFloat, N}
+function sincos_sum(xs::Vararg{T, N})::NTuple{2, T} where {T<:Base.IEEEFloat, N}
50
n, y = rem_pio2_sum(xs...)
51
n &= 3
52
si, co = sincos_kernel(y)
0 commit comments