-
Notifications
You must be signed in to change notification settings - Fork 3.8k
[interp] throw overflow exception when {float,double}.NaN is converted to an int type #11380
New issue
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
Conversation
…d to an int type A comparison with NaN is always `false`.
|
@monojenkins squash |
|
@monojenkins build failed |
|
Cannot squash because the following required status checks are not successful:
|
|
@monojenkins build failed |
1 similar comment
|
@monojenkins build failed |
|
@monojenkins backport 2018-06 |
|
@monojenkins backport 2018-08 |
|
@monojenkins backport 2018-10 |
|
@lewurm backporting to 2018-06 failed, the patch results in conflicts: Please backport manually! |
|
@lewurm could you please backport manually to |
…d to an int type (mono#11380) [interp] throw overflow exception when {float,double}.NaN is converted to an int type A comparison with NaN is always `false`.
* [interp] Overflow fixes (#9688) * [interp] Fix some conv ovf opcodes * [interp] Correctly hande a few conv ovf cases For conversion from unsigned value to i1 and i2. * [interp] Fix multiplication overflow case * [interp] Remove some constants from code * [interp] throw overflow exception when {float,double}.NaN is converted to an int type (#11380) [interp] throw overflow exception when {float,double}.NaN is converted to an int type A comparison with NaN is always `false`.
A comparison with NaN is always
false.