Sorry, I read the output wrong. Just did it for myself. What the hell??
#include <stdio.h>
#define GENERIC_NEGZERO (-0)
#define LESS_GENERIC_NEGZERO (-0.0)
int main () {
double x = -0.0;
double y = GENERIC_NEGZERO;
double z = LESS_GENERIC_NEGZERO;
printf("%a %a %a %a\n", 0.0, x, y, z);
return 0;
}
$./a.out
0x0p+0 -0x0p+0 0x0p+0 -0x0p+0
_______________________________________________
Bug-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gsl
