Skip to content

Commit 0e0ac1b

Browse files
Update trig.jl
1 parent db1c24c commit 0e0ac1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/math/elementary/trig.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ function cos(x::DoubleFloat{T}) where {T<:AbstractFloat}
202202
if x >= onepi
203203
z = -cos_circle(x - onepi)
204204
elseif x >= halfpi
205-
z = sin_circle(x - halfpi)
205+
z = -sin_circle(x - halfpi)
206206
else
207207
z = cos_circle(x)
208208
end

0 commit comments

Comments
 (0)