We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#69756 has several failures that occur across Mono:
Assert.Equal(unchecked((nuint)0xFFFF_FFFF_FFFF_F800), NumberBaseHelper<nuint>.CreateChecked<double>(+18446744073709549568.0)); Assert.Equal(unchecked((nuint)0xFFFF_FF00_0000_0000), NumberBaseHelper<nuint>.CreateChecked<float>(+18446742974197923840.0f));
In both cases the double and float used is the smallest representable double that is less than ulong.MaxValue and therefore it should always succeed.
double
float
ulong.MaxValue
However, Mono incorrectly throws System.OverflowException instead. The same tests exist for ulong where things are passing as expected.
System.OverflowException
ulong
The text was updated successfully, but these errors were encountered:
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.
Sorry, something went wrong.
@BrzVlad - similar to other issue, please investigate.
BrzVlad
Successfully merging a pull request may close this issue.
#69756 has several failures that occur across Mono:
In both cases the
double
andfloat
used is the smallest representable double that is less thanulong.MaxValue
and therefore it should always succeed.However, Mono incorrectly throws
System.OverflowException
instead. The same tests exist forulong
where things are passing as expected.The text was updated successfully, but these errors were encountered: