Rational(1, typemin(Int)) comparisons with 0 and 1 deny transitiveness of <
#32569
Labels
domain:rationals
The Rational type and values thereof
kind:bug
Indicates an unexpected problem or unintended behavior
<
#32569
Maybe that should be solved. It is related to #15225, probably.
Transitivity of
<
should be maintained also byRational{Int}
.I propose to throw
ArgumentError
whentypemin(T)
is going to become denominator for all bits typesT
.The text was updated successfully, but these errors were encountered: