Programming language type system with automatic conversions
Abstract
A programming language type system includes, in a memory, a set of numeric type including integer types, fixed-point types and floating-point types, a set of type propagation rules to automatically determine result types of any combination of integer types, fixed-point types and floating-point types, constant annotations to explicitly specify a result type of a literal constant, context-sensitive constants whose type is determined from a context of a constant according to the set of type propagation rules, an assignment operator to explicitly specify a type of a value or computation, and operator annotations to explicitly specify a result type of a computation.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 0.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A programming language type system comprising: a processor for executing: fixed-point rules that preserve integer-ness for one or more integer operations; integer rules in which integer types are distinct from fixed-point types and integer types can be automatically converted to fixed-point types; and a storage device for storing a result of at least one of executing the fixed-point rules and the integer rules.
- Claim 2Depends on #1
The system of claim 1 in which the fixed-point rules preserve integer-ness for all integer operations.
- Claim 3Depends on #1
The system of claim 1 in which the fixed-point rules preserve integer-ness for multiplication and division integer operations via a graduated radix point rule.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (4)
Non-Patent Literature (2)
- Kim, Seehyun 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(11):730-739 (1994).
- Kim, Seehyun 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(11):730-739 (1994).