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
Fixed a runtime trap in Rational.rationalWithOverflow (and thus Rational(_:_:), parsing, and the ...ReportingOverflow operations) for numerators equal to T.min, e.g. Rational<Int64>(Int64.min, 3)
Rational.rationalWithOverflow now reports overflow only if the result is not representable; Int64.min/3 is returned exactly without overflow
Rational: gcdReportingOverflow and lcmReportingOverflow no longer drop overflows that happen while normalizing the result
Added regression tests, including exhaustive checks of Int8 rationals against a BigInt oracle