The second and third changes remove claims that falsely imply the unsafety of default integers.
Rationals are already checked for overflow:
help?> Rational
search: Rational rationalize Irrational SafeRational AbstractIrrational ConcurrencyViolationError ProcessFailedException
Rational{T<:Integer} <: Real
Rational number type, with numerator and denominator of type T. Rationals are checked for overflow.
SaferIntegers uses Base.checked_div instead of Base.div, but this is a no-op:
The first change fixes a syntax error
The second and third changes remove claims that falsely imply the unsafety of default integers.
Rationals are already checked for overflow:
SaferIntegers uses
Base.checked_div
instead ofBase.div
, but this is a no-op:The fourth change clarifies that the return type is a
BitInteger
, not anUnsafeInteger
(UnsafeSigned <: Integer
, so this is otherwise ambiguous)