-
Incoming link from: 5. Integer quotient and remainder semantics1
2. Detection of checked coefficient overflow PPL-LLR-000002 For coefficient profiles that promise overflow checking, a requested coefficient calculation whose integer result is outside the representable range shall report overflow rather than report a wrapped or truncated value as a successful exact result.
-
1. Numerical and geometric foundations PPL-HLR-000001 PPL shall provide numerical values and finite-dimensional geometric descriptors with defined mathematical meanings, so that clients can describe numerical problems consistently across the library.
-
-
Incoming link from: 6. Exact rational arithmetic1
4. Meaning of numerical conversion outcomes PPL-LLR-000004 When a supported numerical conversion distinguishes exact and inexact success, an exact-success outcome shall preserve the source value and an inexact-success outcome shall satisfy the conversion's stated approximation direction.
-
1. Numerical and geometric foundations PPL-HLR-000001 PPL shall provide numerical values and finite-dimensional geometric descriptors with defined mathematical meanings, so that clients can describe numerical problems consistently across the library.
-
-
Incoming links from: 3. Bounded-difference intersection and upper bounds 5. Lifted operations on finite pointset powersets 6. Compound extrapolation and finite convergence 1. Coordinate removal and existential projection 4. Sound conversion between numerical abstractions 5. Constraint and congruence refinement 6. Sound affine forward and backward transfers 7. Domain-specific time-elapse abstraction 8. Abstract set-difference semantics 11. Preservation of integer points in integer restriction 12. Modeled bounded-integer arithmetic and wrapping 14. Directional bounds, extrema and attainment 1. Dimension-preserving coordinate forgetting 2. Concatenation, coordinate expansion and folding 3. Narrowing and descending precision recovery 2. Sound successful floating-point linearization 3. Explicit failure of unsupported expression approximation 4. Conservative arithmetic on interval linear forms 2. Affine meaning of linear expressions 3. Sound interval arithmetic 4. Explicit numerical operation contracts 1. Exact integral coefficient calculations 3. Conservative directed numerical bounds 4. Meaning of numerical conversion outcomes 5. Integer quotient and remainder semantics 6. Exact rational arithmetic 3. Octagonal intersection and upper bounds27
1. Meaning of successful exact and approximate results PPL-LLR-000301 For valid inputs under an operation's stated arithmetic and resource assumptions, a successfully reported exact result shall have the specified mathematical meaning, and a successfully reported conservative over-approximation shall contain every concrete result admitted by those inputs.
-
11. Sound and explicit numerical guarantees PPL-HLR-000011 PPL shall distinguish exact numerical results, conservative approximations and inconclusive outcomes, and shall make the assumptions and precision guarantees of each numerical operation explicit.
-
-
4. Explicit numerical operation contracts PPL-LLR-000442 Each supported numerical operation shall have an explicit contract identifying its concrete meaning, the conditions of its numerical guarantees, and the meaning of its exact, approximate, inconclusive and failure outcomes, as applicable. The contract shall identify its applicable domain, numerical profile and interface contexts; restrictions on availability or precision shall be consistent with the required facility and selected configuration.
-
11. Sound and explicit numerical guarantees PPL-HLR-000011 PPL shall distinguish exact numerical results, conservative approximations and inconclusive outcomes, and shall make the assumptions and precision guarantees of each numerical operation explicit.
-
For a finite native integer, mpz_class, supported native floating value, or admitted Checked_Number scalar, numer_denom(from, numer, denom) shall obtain the source's exact rational value n ⁄ d in canonical form and assign n to numer followed by positive d to denom. The components shall be coprime. An integral source shall give its exact integer and denominator one; either sign of native zero shall give zero and one. Native floating values shall be interpreted as their exact binary values. Raw mpq_class extraction shall remain governed by 🔗 8. Rational canonical-form inspection and coefficient component extraction; a checked rational source here shall have a finite canonical payload under 🔗 1. Exact rational assignment from rational and integral sources. Supported floating-source availability and conversion prerequisites shall follow 🔗 2. Exact rational assignment of finite native floating-point values.
The output coefficient objects shall be distinct. When types permit, one output may designate the complete integral source value, including the whole integral raw value owned by a checked source. Both outputs shall then use the source's entry value, copied before either assignment. Outputs shall not designate proper numerator/denominator subobjects of rational source storage. A source disjoint from the output objects shall remain unchanged, including its floating sign of zero and rational component representation.
Both components shall fit the configured coefficient range for an unchecked bounded coefficient profile. A checked bounded profile shall report unrepresentable components through the configured coefficient assignment policy and its std::overflow_error in 🔗 5. Checked coefficient overflow and result-policy dispatch. A failure assigning the denominator may follow a completed numerator assignment; there shall be no two-output rollback promise. Surviving outputs shall retain that assignment's valid-reuse and destruction guarantees. Unbounded coefficient storage shall impose no fixed component range. Allocation and other escaping exceptions shall retain the underlying operations' guarantees.
The helper shall return void. It shall not require rounding defaults or a handler from a checked source policy, or invoke that source policy's handler. Assignment to the configured coefficient outputs shall retain their own policy behavior. Objects and borrowed source values shall remain live; access shall be synchronized against overlapping modification. With a non-thread-safe build, callers shall serialize operations using shared PPL temporary storage; a thread-safe build shall provide independent per-thread temporaries. No library/thread initialization or coefficient- constant stage shall be required. Available resources shall limit temporary rational storage. The current hardware rounding direction shall be preserved.