[all-commits] [llvm/llvm-project] 9c8681: [libc] clean up sprintf macros and float tests (#1...
Michael Jones via All-commits
all-commits at lists.llvm.org
Tue Oct 1 16:29:02 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9c868195daf153920272269d2af1c4b62670c4b9
https://github.com/llvm/llvm-project/commit/9c868195daf153920272269d2af1c4b62670c4b9
Author: Michael Jones <michaelrj at google.com>
Date: 2024-10-01 (Tue, 01 Oct 2024)
Changed paths:
M libc/test/src/stdio/sprintf_test.cpp
Log Message:
-----------
[libc] clean up sprintf macros and float tests (#110759)
The sprintf tests have a macro named "ASSERT_STREQ_LEN" which was used
in about half of the tests. This patch moves all of the tests which can
to using that macro. This patch also enables long double tests for %e
and %g, since those never got finished. There's still some work to do
enabling long double testing for long doubles other than the intel 80
bit format, but that can land in a followup.
The `#ifdef LIBC_COPT_FLOAT_TO_STR_REDUCED_PRECISION` lines are for a
followup patch.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list