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 deduction failure for std::min call #122

Merged
merged 1 commit into from
Jan 18, 2022
Merged

Conversation

jwakely
Copy link
Contributor

@jwakely jwakely commented Jan 18, 2022

This assumes that the literal 64 of type int has the same type as the int32_t typedef, which is never true for targets with 16-bit int, and isn't guaranteed to be true even with 32-bit int.

This assumes that the literal `64` of type `int` has the same type as
the `int32_t` typedef, which is never true for targets with 16-bit
`int`, and isn't guaranteed to be true even with 32-bit `int`.
@lemire
Copy link
Member

lemire commented Jan 18, 2022

Looks sensible.

@lemire lemire merged commit 32d21dc into fastfloat:main Jan 18, 2022
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.

2 participants