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

migiate nan float issue on certain platform by introduce ...Raw() variant function to DATrie #91

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

wengxt
Copy link
Member

@wengxt wengxt commented Dec 20, 2024

On certain platform, nan may be canonicalized to a different value. So
DATrie may need to be very careful to do comparison for check
value. So instead, we introduce Raw() function to directly return the
internal representation int32_t for value comparison. And only decode
when the value is valid.

…iant function to DATrie

On certain platform, nan may be canonicalized to a different value. So
DATrie<float> may need to be very careful to do comparison for check
value. So instead, we introduce Raw() function to directly return the
internal representation int32_t for value comparison. And only decode
when the value is valid.
@wengxt wengxt merged commit 7650dee into master Dec 20, 2024
4 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.

1 participant