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 9257c5f + 0102d3e commit f6d2701Copy full SHA for f6d2701
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