|
On 22/03/2014 18.54, Roberto Ierusalimschy wrote:
It passed in "my Windows" (Windows 7-32, VS 2010). This can be a bug in libc. Can you test it in C code? /* untested */ #include <stdio.h> int main (void) { double d = -0.0; printf("%.14g\n", d); return 0; }
It prints 0, which I suppose it's wrong. This uses the old msvcrt.dll (I don't have a Microsoft C++ compiler installed).
-- Enrico