JeffreySarnoff / SaferIntegers.jl

These integer types use checked arithmetic, otherwise they are as system types.
MIT License
59 stars 9 forks source link

Add support for `Base.uabs` #41

Closed nhz2 closed 8 months ago

nhz2 commented 8 months ago

This PR adds support for Base.uabs

Base.uabs is useful when trying to avoid the overflow error with abs(typemin(SafeInt))

JeffreySarnoff commented 8 months ago

thank you