julia
0c2a7a80 - Fix `rationalize(T, x::Integer)` with `x` negative and `T` unsigned (#61058)

Commit
2 days ago
Fix `rationalize(T, x::Integer)` with `x` negative and `T` unsigned (#61058) Was overflowing silently. Throw instead to make the function behavior consistent regardless of the typeof x.
Author
Parents
Loading