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

Fix truncation of constant value #1097

Merged
merged 2 commits into from
Nov 14, 2023

Conversation

gevtushenko
Copy link
Collaborator

Description

closes #1096

This PR fixes constant truncation warning in numeric traits. Changes make sure that we perform bit manipulations on unsigned version of integral types before casting back to signed ones.

Checklist

  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@gevtushenko gevtushenko requested review from a team as code owners November 13, 2023 23:03
@gevtushenko gevtushenko requested review from griwes, alliepiper, miscco and wmaxey and removed request for a team November 13, 2023 23:03
@gevtushenko gevtushenko mentioned this pull request Nov 13, 2023
2 tasks
@gevtushenko gevtushenko marked this pull request as draft November 13, 2023 23:47
@gevtushenko gevtushenko marked this pull request as ready for review November 14, 2023 17:03
@gevtushenko gevtushenko merged commit af1641f into NVIDIA:main Nov 14, 2023
517 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[BUG]: Truncation of constant value in numeric limits
2 participants