This commit is contained in:
Michael Hemmer 2010-03-11 13:46:27 +00:00
parent 223b043a33
commit bd1840fe6d
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ d_to_q(double x)
{ mantissa *= width; // shift double mantissa
mantissa = std::modf(mantissa, &intpart);
num *= shift_pow;
num *= (long)shift_pow;
num += (long)intpart;
exponent -= shift;
}