Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@lewurm
Copy link
Contributor

@lewurm lewurm commented Oct 25, 2018

A comparison with NaN is always false.

…d to an int type

A comparison with NaN is always `false`.
@luhenry
Copy link
Contributor

luhenry commented Oct 25, 2018

@monojenkins squash

@luhenry
Copy link
Contributor

luhenry commented Oct 25, 2018

@monojenkins build failed

@monojenkins
Copy link
Contributor

Cannot squash because the following required status checks are not successful:

  • "Linux ARMv5" state is "failure"
  • "Windows i386" state is "failure"

@lewurm
Copy link
Contributor Author

lewurm commented Oct 26, 2018

@monojenkins build failed

1 similar comment
@lewurm
Copy link
Contributor Author

lewurm commented Oct 26, 2018

@monojenkins build failed

@monojenkins monojenkins merged commit f8f574d into mono:master Oct 26, 2018
@lewurm
Copy link
Contributor Author

lewurm commented Oct 27, 2018

@monojenkins backport 2018-06

@lewurm
Copy link
Contributor Author

lewurm commented Oct 27, 2018

@monojenkins backport 2018-08

@lewurm
Copy link
Contributor Author

lewurm commented Oct 27, 2018

@monojenkins backport 2018-10

@monojenkins
Copy link
Contributor

@lewurm backporting to 2018-06 failed, the patch results in conflicts:

Applying: [interp] throw overflow exception when {float,double}.NaN is converted to an int type
Using index info to reconstruct a base tree...
M	mono/mini/interp/interp.c
Falling back to patching base and 3-way merge...
Auto-merging mono/mini/interp/interp.c
CONFLICT (content): Merge conflict in mono/mini/interp/interp.c
error: Failed to merge in the changes.
Patch failed at 0001 [interp] throw overflow exception when {float,double}.NaN is converted to an int type

Please backport manually!

@luhenry
Copy link
Contributor

luhenry commented Oct 28, 2018

@lewurm could you please backport manually to 2018-06 since this is a fix.

lewurm added a commit to lewurm/mono that referenced this pull request Oct 29, 2018
…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`.
luhenry pushed a commit that referenced this pull request Oct 29, 2018
* [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`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants