Skip to content
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

Prevent FPE in scaleSizeBasedOnBlockFrequency() float to int32 cast #14064

Merged
merged 1 commit into from
Dec 3, 2021

Conversation

klangman
Copy link
Contributor

@klangman klangman commented Dec 2, 2021

Prevent a FPE when casting a float that is larger then 0x7fffffff
to an int32.

Signed-off-by: Kevin Langman langman@ca.ibm.com

Prevent a FPE when casting a float that is larger then 0x7fffffff
to an int32.

Signed-off-by: Kevin Langman <langman@ca.ibm.com>
Copy link
Contributor

@zl-wang zl-wang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me

@zl-wang
Copy link
Contributor

zl-wang commented Dec 2, 2021

Jenkins test sanity.functional plinux,xlinux jdk8,jdk11

@zl-wang zl-wang merged commit eba5fd4 into eclipse-openj9:master Dec 3, 2021
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.

None yet

2 participants