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
If a is set to a small value, like 42, this results in the expected DivideByZeroException. But when a is set to a large value, like MaxValue, it instead throws an ArgumentOutOfRangeException.
Unhandled exception. System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
at System.UInt128.<op_Division>g__DivideSlow|110_2(UInt128 quotient, UInt128 divisor)
at System.UInt128.op_Division(UInt128 left, UInt128 right)
at System.Int128.op_Division(Int128 left, Int128 right)
The text was updated successfully, but these errors were encountered:
If a is set to a small value, like 42, this results in the expected DivideByZeroException. But when a is set to a large value, like MaxValue, it instead throws an ArgumentOutOfRangeException.
Unhandled exception. System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
at System.UInt128.<op_Division>g__DivideSlow|110_2(UInt128 quotient, UInt128 divisor)
at System.UInt128.op_Division(UInt128 left, UInt128 right)
at System.Int128.op_Division(Int128 left, Int128 right)
ghost
removed
in-pr
There is an active PR which will close this issue when it is merged
untriaged
New issue has not been triaged by the area owner
labels
Nov 13, 2023
Repro:
or
If
a
is set to a small value, like 42, this results in the expectedDivideByZeroException
. But whena
is set to a large value, likeMaxValue
, it instead throws an ArgumentOutOfRangeException.The text was updated successfully, but these errors were encountered: