-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
mathsMathematical functionsMathematical functionsminor changeMarginal behavior change acceptable for a minor releaseMarginal behavior change acceptable for a minor releaserationalsThe Rational type and values thereofThe Rational type and values thereof
Description
julia> lcm(1//0, 3//2)
3//2 # Should throw
julia> lcm(1//0, 1//0)
1//0 # Correct
julia> lcm(0//1, 2//3)
0//1 # Correct
julia> lcm(1//0, -1//0)
1//0 # CorrectOriginally posted by @LilithHafner as part of a comment from triage in #56423 (comment)
Metadata
Metadata
Assignees
Labels
mathsMathematical functionsMathematical functionsminor changeMarginal behavior change acceptable for a minor releaseMarginal behavior change acceptable for a minor releaserationalsThe Rational type and values thereofThe Rational type and values thereof