Method and apparatus for generating specification data
Abstract
When a source program written in Java or the like and using methods of BigDecimal class, a priority conforming to a predetermined arithmetic rule is identified for an arithmetic operational method included in an arithmetic operation statement, and the arithmetic operational method and the identified priority are registered into a storage device. Then, in a case where it is judged based on data stored in the storage device that a plurality of arithmetic operational methods are included in an arithmetic operational statement, and an arithmetic operational method with low priority is defined as an instance of an arithmetic operational method with high priority, following processing is carried out to generate specification data, that is, the arithmetic operational method with low priority and an instance and argument of the arithmetic operational method with low priority are converted into a first subexpression using an arithmetic operational sign in accordance with a predetermined rule. Then, parentheses representing that the arithmetic operation are carried out with priority is added to the first subexpression. In addition, the arithmetic operational method with high priority and an
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 2 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method for generating specification data from a source program in which arithmetic operations are described in a method format, comprising: identifying a priority conforming to a predetermined arithmetic rule for an arithmetic operational method included in an arithmetic operational statement that is included in a source program and defines an arithmetic operation, and registering said arithmetic operational method and said priority into a storage device; if it is judged based on data stored in said storage device that a plurality of arithmetic operational methods are in
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 8,782,625 B2 | Memory safety of floating-point computations | 2014 | 20 |
| US 2011314251 A1 | Memory safety of floating-point computations | — | 12 |
References Cited — Backward Prior Art (2)
Non-Patent Literature (1)
- Nimmer et al. "Automatic Generation of Program Specifications" 2002 ACM.