[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vasnprintf(-0.0L) on Irix [was: snapshot in preparation for m4 1.4.1

From: Bruno Haible
Subject: Re: vasnprintf(-0.0L) on Irix [was: snapshot in preparation for m4 1.4.12]
Date: Sun, 21 Sep 2008 17:21:59 +0200
User-agent: KMail/1.5.4

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

2008-09-21  Bruno Haible  <address@hidden>

        * 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

[Prev in Thread] Current Thread [Next in Thread]