System and method of dynamic precision operations
Abstract
In an embodiment, a method performs computer operations using a first fractional precision and a second fractional precision. A computer program has a source variable, a destination variable, and an operation. The source variable has a first dynamic fractional precision, the destination variable has a second dynamic fractional precision that differs from the first dynamic fractional precision, and the operation is related to the source variable and the destination variable. The source variable is aligned to a format of the destination variable, according to the first dynamic fractional precision and the second dynamic fractional precision. The operation is performed using the destination variable and the source variable. A value is assigned to the destination variable according to the operation. In this manner, a single codebase may be written that operates on various hardware that each have different bit precision capabilities, without requiring additional development and verification effort.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 22 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer implemented method of performing computer operations using a first fractional precision and a second fractional precision, comprising: accessing with the computer a source variable, a destination variable, and an operation, wherein the source variable has a first dynamic fractional precision, wherein the destination variable has a second dynamic fractional precision that differs from the first dynamic fractional precision, and wherein the operation is related to the source variable and the destination variable; determining a difference between the first dynamic fractional precision
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 2014089371 A1 | Mixed precision fused multiply-add operator | — | 28 |
| US 9,367,287 B2 | Mixed precision fused multiply-add operator | 2016 | 0 |
References Cited — Backward Prior Art (22)
Non-Patent Literature (4)
- Funk, et al., "Cost-Effective ALU Multiplier Combination" Jan. 1989, disclosed by IBM, Jan. 1, 1989.
- IBM "Decimal Floating Point (DFP) Functionality: Technical Preview" 2007.
- Kim, et al., "A Floating-Point to Fixed-Point Assembly Program Translator for the TMS 320C25" IEEE Transactions on Circuits and Systems II: Analog and Digital Signal Processing, vol. 41, No. 11, Nov. 1994, pp. 730-739.
- Saldanha, et al., "Float-to-Fixed and Fixed-to-Float Hardware Converters for Rapid Hardware/Software Partitioning of Floating Point Software Applications to Static and Dynamic Fixed Point CoProcessors" vol. 13, No. 3, Sep. 2009.