You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The math behind the transformation incorrectly assumes y is finite and nonzero.
xref #53435, which concerns overflow caused by the same oneliner.
Test:
using Test
@testset"exact division by an infinite complex number"beginfor y ∈ (1//0, -1//0)
@test (7//complex(y)) == (7// y)
endend
Resulting in:
Test Summary: | Error Total Time
exact division by a zero or infinite complex number | 3 3 1.6s
ERROR: Some tests did not pass: 0 passed, 0 failed, 3 errored, 0 broken.
The text was updated successfully, but these errors were encountered:
This is the method:
julia/base/rational.jl
Line 101 in 877de98
The math behind the transformation incorrectly assumes
y
is finite and nonzero.xref #53435, which concerns overflow caused by the same oneliner.
Test:
Resulting in:
The text was updated successfully, but these errors were encountered: