ruma / js_int

JavaScript-interoperable integer types for Rust
MIT License
16 stars 8 forks source link

Fix saturating add, sub for Int #22

Closed V02460 closed 3 years ago

V02460 commented 3 years ago

The operations saturating_add and saturating_sub did not consider negative values.