Commit 9c86819
authored
[libc] clean up sprintf macros and float tests (llvm#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.1 parent 4d4beeb commit 9c86819
1 file changed
+222
-631
lines changed
0 commit comments