Eric Blake wrote:
> > In the
> > 'double' case on mingw, in 'e' format, we need to use 3 digits for the
> > exponent, to match what MSVCRT does. This is not needed for 'long double' -
> > since 'long double' output is not supported by MSVCRT in the first place.)
> 
> Actually, in the latest version of mingw, you have the option to use a
> more POSIX compliant [printf]

Indeed, it seems that this alternative set of *printf functions uses 3
digits for the exponent also for 'long double' arguments. I'm updating the
testsuite.

2008-09-21  Bruno Haible  <[EMAIL PROTECTED]>

        * tests/test-vasnprintf-posix.c (test_function): Allow 3-digit
        exponents in %e and %g results on 'long double'. Needed for mingw's
        improved *printf functions.
        * tests/test-vasprintf-posix.c (test_function): Likewise.
        * tests/test-snprintf-posix.h (test_function): Likewise.
        * tests/test-sprintf-posix.h (test_function): Likewise.
        Reported by Eric Blake.




Reply via email to