[libc-commits] [libc] [libc] Fix typo in long double negative block (PR #68243)
via libc-commits
libc-commits at lists.llvm.org
Wed Oct 4 11:20:28 PDT 2023
================
@@ -2757,6 +2757,17 @@ TEST_F(LlvmLibcSPrintfTest, FloatAutoConv) {
written = LIBC_NAMESPACE::sprintf(buff, "%.10g", 0x1.0p-1074);
ASSERT_STREQ_LEN(written, buff, "4.940656458e-324");
+ written = LIBC_NAMESPACE::sprintf(buff, "%g", 0xa.aaaaaaaaaaaaaabp-7);
----------------
lntue wrote:
Should these tests be guarded in the `ifdefs` below?
https://github.com/llvm/llvm-project/pull/68243
More information about the libc-commits
mailing list