diff options
Diffstat (limited to 'src/OutputInfo.c')
-rw-r--r-- | src/OutputInfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/OutputInfo.c b/src/OutputInfo.c index 29580cb..16676e8 100644 --- a/src/OutputInfo.c +++ b/src/OutputInfo.c @@ -30,9 +30,9 @@ CCTK_FILEVERSION(CactusBase_IOBasic_OutputInfo_c) /* the number at which to switch from decimal to exponential notation */ #define DECIMAL_PRECISION 1.0e-8 #define DECIMAL_TOOBIG 1.0e+8 -#define USE_DECIMAL_NOTATION(x) ((fabs (x) > DECIMAL_PRECISION) || \ +#define USE_DECIMAL_NOTATION(x) ((fabs ((double) x) > DECIMAL_PRECISION) || \ ((x) == 0.0) || \ - (fabs(x) < DECIMAL_TOOBIG)) + (fabs ((double) x) < DECIMAL_TOOBIG)) #define PRINT_FORMATTED_REDUCTION_VALUE(reduction) \ if (reduction->is_valid) \ { \ |