Mantissa overflow or underflow in handling floating-point numbers