-
Notifications
You must be signed in to change notification settings - Fork 17
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
various bugs #93
Comments
Fixed consistency. I had messed up FLOAT16 and BFLOAT16 once so I changed the name entirely to make it more distinguishable.
This is the expected value per the docs. Clang 16+ and MSVC return this value, but since I assume you're running GCC 13 +to use
Fixed. PR will be published shortly once the other is merged. |
??? Is this perhaps an MSVC "specialty"? Both intel and clang give -nan; godbolt unfortunately has no executor for MSVC so I can't check. |
Hello Matt,
to_chars for std::bfloat16_t is not available
You define BOOST_CHARCONV_HAS_BRAINFLOAT16 in config.hpp, but check for BOOST_CHARCONV_HAS_BFLOAT16 in to_chars.hpp (and for BOOST_CHARCONV_HAS_BRAINFLOAT16 in from_chars.hpp).
Why these error-prone redundancies?
to_chars for FP-Types not work
./Test -nan
gets always
-nan(ind)
./Test 3.3
gets
Also, to_chars_result.ptr does not always match the actual written values (buffer overflow, hence the double output in print), e.g. compiled with fmt=general:
code
thx
Gero
The text was updated successfully, but these errors were encountered: