[libcxx-commits] [libcxx] [libc++][test] Adjust expected hexfloat format (PR #95011)
David Tenty via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jun 11 09:53:14 PDT 2024
https://github.com/daltenty requested changes to this pull request.
I think the printf behaviour your seeing is invalid. The test sets a precision of zero, and according to the C standard:
```
the number of hexadecimal digits after ("the decimal point character") is equal to the precision; .. if the precision is zero and the # flag is not specified, no
decimal-point character appears."
https://github.com/llvm/llvm-project/pull/95011
More information about the libcxx-commits
mailing list