[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gsl] GSL_NEGZERO
From: |
Gerard Jungman |
Subject: |
Re: [Bug-gsl] GSL_NEGZERO |
Date: |
Wed, 13 Apr 2011 16:07:48 -0600 |
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] GSL_NEGZERO, James Ward, 2011/04/13
- Re: [Bug-gsl] GSL_NEGZERO, Brian Gough, 2011/04/13
- Re: [Bug-gsl] GSL_NEGZERO, Gerard Jungman, 2011/04/13
- Re: [Bug-gsl] GSL_NEGZERO, Brian Gough, 2011/04/13
- Re: [Bug-gsl] GSL_NEGZERO, Gerard Jungman, 2011/04/13
- Re: [Bug-gsl] GSL_NEGZERO,
Gerard Jungman <=
- Re: [Bug-gsl] GSL_NEGZERO, Brian Gough, 2011/04/14
- Re: [Bug-gsl] GSL_NEGZERO, Gerard Jungman, 2011/04/14
- Re: [Bug-gsl] GSL_NEGZERO, Brian Gough, 2011/04/15