Skip to content
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

[libc] clean up sprintf macros and float tests #110759

Merged
merged 1 commit into from
Oct 1, 2024

Commits on Oct 1, 2024

  1. [libc] clean up sprintf macros and float tests

    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.
    michaelrj-google committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    c9fb694 View commit details
    Browse the repository at this point in the history