IEEE floating-point extension for managing error using residual registers