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

Added missing FASTFLOAT_ALLOWS_LEADING_PLUS ifdef check in parse_infnan #183

Merged
merged 1 commit into from
Mar 7, 2023

Conversation

filipecosta90
Copy link
Contributor

This issue was detected via https://github.com/redis/redis/actions/runs/4349106283/jobs/7598380101 , specifically the part of zadd ztmp +inf x
The error is related to the +inf parsing. After checking parse_infnan we can indeed confirm that the '+' sign is not being checked and the str position is updated accordingly. This PR addresses it.

@lemire
Copy link
Member

lemire commented Mar 7, 2023

I'll merge and release. Thank you.

@lemire lemire merged commit eb8c001 into fastfloat:main Mar 7, 2023
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.

None yet

2 participants