Patent ID: 6298365
Filing Date: 2001-10-02
Classification: G06F

Abstract:
A method for a floating-point bounds comparison function which characterizes the location of a point with respect to a bounds region defined on each side by a number X within a data processing system, said method comprising the steps of:determining if an exponent component of a number X is greater than an exponent of a point;responsive to determining that said exponent component of said number X is greater than said exponent of said point, indicating a result that said point is ""In bounds"";responsive to determining that said exponent component of said number X is not greater than said exponent of said point; determining that said exponent component of said number X is equal to said exponent of said point;responsive to determining that said exponent component of said number X is not equal to said exponent of said point, indicating a result that said point is ""Out of bounds"";responsive to determining that said exponent component of said number X is equal to said exponent of said point; determining that a fraction component of said number X is greater than or equal to a fraction component of said point;responsive to determining that said fraction component of said number X is greater than or equal to said fraction of said point, indicating a result that said point is ""In bounds"";responsive to determining that said fraction component of said number X is not greater than or equal to said fraction of said point, indicating a result that said point is ""Out of bounds"";responsive to determining that said fraction component of said number is not greater than said fraction of said point, determining that a fraction component of said number is equal to a fraction component of said point;responsive to determining that said fraction component of said number is equal to said fraction of said point, indicating a result that said point is ""In bounds""; andresponsive to determining that said fraction component of said number is not greater than said fraction of said point and that said fraction component of said number is not equal to said fraction of said point, indicating a result that said point is ""Out of bounds"".