[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.3.0 (work2) now available
- From: Roberto Ierusalimschy <roberto@...>
- Date: Sat, 22 Mar 2014 14:54:26 -0300
> Not all tests work under Windows, I presume by design (more on this
> after the Linux tests) but I suppose strings.lua should. It fails
> the assert at line 118:
>
> assert(tostring(-0.0) == "-0.0")
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;
}
-- Roberto