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
The lcm method can easily overflow when product of the inputs is too big to fit in the type of the arguments. I suggest adding a checked variant of lcm and related methods that uses checked_mul in the final step.
The
lcmmethod can easily overflow when product of the inputs is too big to fit in the type of the arguments. I suggest adding a checked variant oflcmand related methods that useschecked_mulin the final step.