Skip to content

Added missing FASTFLOAT_ALLOWS_LEADING_PLUS ifdef check in parse_infnan#183

Merged
lemire merged 1 commit into
fastfloat:mainfrom
redis-performance:fix.parse_infnan.plus.inf
Mar 7, 2023
Merged

Added missing FASTFLOAT_ALLOWS_LEADING_PLUS ifdef check in parse_infnan#183
lemire merged 1 commit into
fastfloat:mainfrom
redis-performance:fix.parse_infnan.plus.inf

Conversation

@filipecosta90

Copy link
Copy Markdown
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

lemire commented Mar 7, 2023

Copy link
Copy Markdown
Member

I'll merge and release. Thank you.

@lemire lemire merged commit eb8c001 into fastfloat:main Mar 7, 2023
@filipecosta90 filipecosta90 deleted the fix.parse_infnan.plus.inf branch August 22, 2024 00:03
filipecosta90 pushed a commit to filipecosta90/redis that referenced this pull request Aug 22, 2024
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