Skip to content

Fix #98: Return 0 when casting NaN QuadPrecision to integer types#102

Merged
ngoldbaum merged 1 commit into
numpy:mainfrom
SwayamInSync:98-fix
May 18, 2026
Merged

Fix #98: Return 0 when casting NaN QuadPrecision to integer types#102
ngoldbaum merged 1 commit into
numpy:mainfrom
SwayamInSync:98-fix

Conversation

@SwayamInSync
Copy link
Copy Markdown
Member

closes #98

Copy link
Copy Markdown
Member

@ngoldbaum ngoldbaum left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @SwayamInSync!

@ngoldbaum ngoldbaum merged commit 3164b96 into numpy:main May 18, 2026
12 checks passed
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.

[BUG] astype(int64) for NaN gives INT64_MAX (numpy convention is 0)

2 participants