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
NET7 allowsSystem.Numerics.IBinaryInteger<TSelf>.DivRem. Some algorithms could benefit from simultaneous division and modulus operations (when DevRem does this optimization, which is probably still not the case for .NET integral types).
Why there is no separate interface defining DivRem for more general cases than binary integers?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
NET7 allows
System.Numerics.IBinaryInteger<TSelf>.DivRem
. Some algorithms could benefit from simultaneous division and modulus operations (whenDevRem
does this optimization, which is probably still not the case for .NET integral types).Why there is no separate interface defining
DivRem
for more general cases than binary integers?Beta Was this translation helpful? Give feedback.
All reactions