Calculating square root of binary numbers with fixed-point microprocessor
Abstract
A method and system is disclosed for calculating the square root of a number using a fixed-point microprocessor. The method includes employing a binary search to obtain the integer portion of the square root, and calculating a fraction of the square root utilizing the integer portion. The method further includes summing the fractional portion together with the integer portion to yield the square root. Also disclosed is a calculator apparatus for employing the method.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 19 · Forward citations: 2.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A square root calculator comprising: a binary searching module operable to accept a number, perform a binary search operation, and return an integer portion of the square root of the number; a fraction calculating module operable to calculate a fractional portion of the square root; and a summing module operable to sum the integer portion and the fractional portion to obtain the square root.
- Claim 2Depends on #1
The square root calculator of claim 1 , wherein the square root has a precision and the number comprises bits having varying degrees of significance, the calculator further comprising: a prescaling module operable to scale the number if the number is smaller than a desired maximum value prior to calculating the square root of the number, wherein scaling includes multiplying the number by a first fixed scale value to increase the significance of the bits; and a pos
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗