← Back to Patent Explorer
US4858166A Expired / Lapsed US ⏱️ 0.0 years remaining

Method and structure for performing floating point comparison

Assignee: PERFORMANCE SEMICONDUCTOR Corp 610 WEDDELL DRIVE SUNNYVALE CA 94089 A CORP OF
•
Filing: 1986-09-19
•
Granted: 1989-08-15
•
Expires: 2006-09-19
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract Comparison of two floating point numbers is performed using a unique algorithm, which in one embodiment is implemented very efficiently in hardware, resulting in a very significant improvement in the floating point comparison execution time. In order to perform a floating point comparison, the exponents of the two numbers to be compared are subtracted. In many cases, the exponents are not equal, and simply determining which exponent is larger, combined with the signs of the mantissas of each of the floating point numbers being compared, is sufficient to determine which of the two floating point numbers being compared is larger. Alternatively, if the exponents of the two floating point numbers being compared are equal, the mantissas may be subtracted without need for shifting mantissas in order to equalize the exponents. In this manner, the floating point comparison operation is greatly simplified and the time consuming multiple shift operation is avoided, thereby vastly reducing the amount of time required to perform the floating point comparison, and thereby increasing the overall speed of operation of the microprocessor.

Inventors

  • 👤 Yeshayahu Schatzberger
  • 👤 Yeshayahu Mor
  • 👤 Leonardo Sandman

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-11-03 16:06
CPC Classifications
G; G06; G06F; G06F7/00; G06F7/02; G06F7/026; G06F7/38; G06F7/48; G06F7/483

Claims Analysis

Total Claims: 2
Claim 1
Independent Claim 241 words
Means for comparing a first and a second floating point number comprising: first means for providing an exponent difference signal indicating if the exponent of said first floating point number is greater than the exponent of said second floating point number; second means for providing an equal exponent signal indicating if the exponents of said first and second floating point numbers are equal; third means for providing a signal indicating if either or both of said first and second floating point numbers are equal to zero; and fourth means for providing an output signal indicating if said first floating point number is greater than said second floating point number, by selecting as said output signal: the most significant bit of said first floating point number when said exponent of said first floating point number is not greater than said exponent of said second floating point number, and neither of said first or second floating point numbers is equal to zero; the sign bit resulting from the subtraction of the mantissas when the exponents of said first and second floating point numbers are equal and there has not been an overflow when subtracting said first and second floating point numbers; and the inverse of the sign bit resulting from the subtraction of the mantissas when the exponents of said first and second floating point numbers are equal and there has been an overflow when subtracting said first and second floating point numbers.
Claim 2
Dependent Claim 241 words
Means for comparing a first and a second floating point number comprising: first means for providing an exponent difference signal indicating if the exponent of said first floating point number is greater than the exponent of said second floating point number; second means for providing an equal exponent signal indicating if the exponents of said first and second floating point numbers are equal; third means for providing a signal indicating if either or both of said first and second floating point numbers are equal to zero; and fourth means for providing an output signal indicating if said first floating point number is greater than said second floating point number, by selecting as said output signal: the most significant bit of said first floating point number when said exponent of said first floating point number is not greater than said exponent of said second floating point number, and neither of said first or second floating point numbers is equal to zero; the sign bit resulting from the subtraction of the mantissas when the exponents of said first and second floating point numbers are equal and there has not been an overflow when subtracting said first and second floating point numbers; and the inverse of the sign bit resulting from the subtraction of the mantissas when the exponents of said first and second floating point numbers are equal and there has been an overflow when subtracting said first and second floating point numbers.

References Cited (Backward Citations)

US3814925A Cited
US4229801A Cited
US4592006A Cited
US4644490A Cited
US4719589A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 1992-08-14 1993-02-13 1993-08-15 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 1996-08-14 1997-02-13 1997-08-15 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2000-08-14 2001-02-13 2001-08-15 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag