Skip to content

Fix: Handle NaN inputs in round_to_int_and_clamp#2658

Open
rjodinchr wants to merge 1 commit intoKhronosGroup:mainfrom
rjodinchr:main
Open

Fix: Handle NaN inputs in round_to_int_and_clamp#2658
rjodinchr wants to merge 1 commit intoKhronosGroup:mainfrom
rjodinchr:main

Conversation

@rjodinchr
Copy link
Copy Markdown
Contributor

Check for NaN before casting to long long to prevent SIGILL crashes due to undefined behavior.

Returns 0 for NaN inputs as defined in the specification.

Check for NaN before casting to long long to prevent SIGILL crashes
due to undefined behavior.

Returns 0 for NaN inputs as defined in the specification.
@rjodinchr
Copy link
Copy Markdown
Contributor Author

@bashbaug could we add "focus review" to that PR please?

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.

1 participant