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
Sorry I should've been more clear, I was talking about functions like div_floor, div_mod_floor, mod_floor
I don't see a trait for checked variants of these
Activity
cuviper commentedon Dec 29, 2023
There are already traits for this: https://docs.rs/num-traits/latest/num_traits/ops/checked/index.html
But if you're asking for this on
Integer, I don't think there's any compatible way to add these as extra methods.JayXon commentedon Dec 29, 2023
Sorry I should've been more clear, I was talking about functions like div_floor, div_mod_floor, mod_floor
I don't see a trait for checked variants of these