fix exception on systems with only 32 bit exponents