Re: [boost] charconv for C++11
12 May
2023
12 May
'23
6:42 a.m.
Am 12.05.23 um 02:52 schrieb Gavin Lambert via Boost:
Mere moments ago, quoth I:
Hex format will be of the form +1.0e2p+5. The integer part will always be 0 or 1. The exponent will be with a p instead of an e like in base 10 formats. (Also, FWIW, gcc fails to parse that with the leading +. And I couldn't even find any online calculators that understand this format.) According to cppreference the floating point parser should not support it:
"the plus sign is not recognized outside of the exponent (only the minus sign is permitted at the beginning)" So I'd say that is a bug in Boost charconv given that it wants to be as-if the standard one.
565
Age (days ago)
565
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexander Grund