×

Saturation detection in floating point to integer conversions

  • US 6,195,672 B1
  • Filed: 08/31/1998
  • Issued: 02/27/2001
  • Est. Priority Date: 08/31/1998
  • Status: Expired due to Term
First Claim
Patent Images

1. A method comprising:

  • receiving a floating point number and an integer field size indicating a number of bit positions in an integer field;

    comparing an exponent value of the floating point number to the integer field size to produce a set of relational outputs;

    determining whether ones or zeros are present in particular bit positions of a mantissa of the floating point number to produce a set of boundary condition outputs; and

    predicting whether the floating point number when converted to an integer value would saturate the integer field based on at least one of a sign of the floating point number, the set of relational outputs, and the set of boundary condition outputs.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×