ASCII to binary decimal integer conversion in a vector processor
Abstract
A system, method, and apparatus for the constant time, branchless conversion of decimal integers of varying size in ASCII format to a decimal integer in binary decimal format in a vector processor utilizing simultaneous conversion of the string to a binary format, followed by simultaneous multiplications of the binary result by appropriate powers of ten and a fixed number of steps of vector addition, followed by a final step of a scalar multiplication of a sign value.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 16 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
An algorithmic method to perform branchless constant-time ASCII string integer to decimal binary format conversion on vector processors, regardless of the size of the ASCII string integer, said ASCII string integer comprising a sign, one or more digits, and a string terminator and said method comprising: execution of the conversion, using code comprising a fixed sequence of a constant number of instructions stored in the processor; further comprising the steps of: breaking the ASCII string integer up into two or more sections and loading each section into one or more fixed sized vector registe
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗