diff --git a/src/common/DecFloat.cpp b/src/common/DecFloat.cpp index 4d65d55282..eca87138b1 100644 --- a/src/common/DecFloat.cpp +++ b/src/common/DecFloat.cpp @@ -127,6 +127,7 @@ const CDecimal128 pow2_32("4294967296", DecimalStatus(0)); const CDecimal128 pow2_64("18446744073709551616", DecimalStatus(0)); const CDecimal128 dmax(DBL_MAX, DecimalStatus(0)), dmin(-DBL_MAX, DecimalStatus(0)); const CDecimal128 dzup(DBL_MIN, DecimalStatus(0)), dzlw(-DBL_MIN, DecimalStatus(0)); +// be careful with order of initialization: pow2_32 is used in i64max constructor const CDecimal128 i64max(MAX_SINT64, DecimalStatus(0)), i64min(MIN_SINT64, DecimalStatus(0)); const CDecimal128 c1(1);