Skip to content

Fixed wrong numeric limit for floating types#2471

Merged
an-tao merged 3 commits intodrogonframework:masterfrom
Greisby:fix/utilities_fromstring
Mar 23, 2026
Merged

Fixed wrong numeric limit for floating types#2471
an-tao merged 3 commits intodrogonframework:masterfrom
Greisby:fix/utilities_fromstring

Conversation

@Greisby
Copy link
Copy Markdown
Contributor

@Greisby Greisby commented Mar 22, 2026

I did an error in my PR #1925 from jan 2024.

I used std::numeric_limits::min instead of std::numeric_limits::lowest
Therefore, negative floating numbers always throw!

@Greisby Greisby requested a review from an-tao March 23, 2026 07:14
@an-tao an-tao merged commit e20a975 into drogonframework:master Mar 23, 2026
34 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.

2 participants