-
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.
-
-
Incoming link from: 2. Installation of configured public artifacts1
1. Public C++ access to supported facilities PPL-LLR-000311 The public C++ interface shall expose the configured library's supported numerical facilities and their public value types through the documented public headers, preserving the declared numerical meanings and public type contracts of those facilities.
-
7. Access through supported language interfaces PPL-HLR-000007 PPL shall expose its numerical facilities through its C++ interface and expose selected facilities through the supported C, Java, OCaml and Prolog interfaces. Each interface shall preserve the declared semantics of the facilities it exposes.
-
-
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 admitted argument types, gcd_assign_r and lcm_assign_r shall interpret each source's specials according to that source's own policy. A source-policy NaN shall take precedence over infinity and shall request NaN assignment through the destination policy.
For non-NaN inputs, magnitudes shall use the nonnegative-integer divisibility order with one additional greatest element ∞, above zero as well as positive integers. The signs of infinities shall not affect these divisor operations. With either source infinite, the gcd shall be the other source's magnitude; two infinities shall give positive infinity. With either source infinite, the lcm shall be positive infinity, including when the other source is zero.
These mathematical values shall be independent of destination representability. Computing the selected absolute value or special-value assignment shall retain that operation's destination-policy range checks, rounding and result code. An unsupported NaN shall return a NaN-class result with V_UNREPRESENTABLE and no destination-value promise. An unsupported positive infinity shall retain the selected special-assignment outcome, including any directed finite bound. Finite-input gcd/lcm shall retain 🔗 2. Native integer greatest common divisor and least common multiple for native integers and 🔗 1. Exact unbounded integer greatest common divisor and least common multiple for unbounded integers; floating storage shall require finite integral operands and representable Euclidean intermediates.
All arguments shall have the same admitted raw storage type: a standard native integer, mpz_class, or a supported native floating-point type. Each argument may be raw or use an admitted Checked_Number policy. The destination may alias either source, and the sources may be the same object. Every source value shall mean its entry value; distinct sources shall retain their values. Live storage, supported numerical operations, sufficient resources and synchronization shall be required. Calls shall use an admitted rounding request and shall invoke no result handler. ROUND_NOT_NEEDED shall require an exact representable result and admitted intermediates. No coefficient-profile limit shall replace the selected scalar storage's own range and resource conditions.
-
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.
-
-
Incoming link from: 2. Installation of configured public artifacts1
1. Public C++ access to supported facilities PPL-LLR-000311 The public C++ interface shall expose the configured library's supported numerical facilities and their public value types through the documented public headers, preserving the declared numerical meanings and public type contracts of those facilities.
-
7. Access through supported language interfaces PPL-HLR-000007 PPL shall expose its numerical facilities through its C++ interface and expose selected facilities through the supported C, Java, OCaml and Prolog interfaces. Each interface shall preserve the declared semantics of the facilities it exposes.
-
-
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 supported native floating storage F and finite integral source entry values x, y, gcdext_assign_r shall assign a nonnegative gcd g and integral coefficients s, t satisfying xs + yt = g. Two zero sources shall give zero. No particular coefficient pair shall be required.
Sources, their absolute values, conversions, mathematical Euclidean integer quotients, remainders, and every evaluated coefficient product, difference and sign restoration shall be finite and exactly representable in the selected storage. A noninteger rounded division temporary may be used to derive the exact integer quotient. The requested result shall be V_EQ for admitted ordinary and strict requests, including ROUND_NOT_NEEDED.
All five arguments shall have the same raw type F, either raw or wrapped in admitted checked policies; the finite inputs shall be admitted by their source policies. The three outputs shall be live, independent and distinct from both sources. Sources may share an object and shall retain their values. The configured floating-rounding protocol and nontrapping arithmetic environment shall be in force, available resources shall suffice, and objects shall be synchronized. The hardware rounding direction shall be preserved. No rounding default or result handler shall be required or invoked.
-
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.
-
-
Incoming link from: 2. Installation of configured public artifacts1
1. Public C++ access to supported facilities PPL-LLR-000311 The public C++ interface shall expose the configured library's supported numerical facilities and their public value types through the documented public headers, preserving the declared numerical meanings and public type contracts of those facilities.
-
7. Access through supported language interfaces PPL-HLR-000007 PPL shall expose its numerical facilities through its C++ interface and expose selected facilities through the supported C, Java, OCaml and Prolog interfaces. Each interface shall preserve the declared semantics of the facilities it exposes.
-
-
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 admitted same-raw-storage argument combinations, gcdext_assign_r shall recognize each source's NaN and infinities using that source's own policy before updating the coefficient outputs. With any such nonfinite operand, it shall request NaN assignment to g through the gcd output's policy and leave s and t unchanged. This shall include either infinity sign, two infinite operands and NaN/infinity combinations. No generalized Bezout identity shall be asserted for infinite operands.
A destination policy admitting NaN shall produce its NaN representation and return V_NAN. Otherwise the result shall be V_NAN | V_UNREPRESENTABLE with no value promise for g. Rejection shall apply to supported ordinary rounding requests and their strict-relation forms; ROUND_NOT_NEEDED shall require admitted finite input and an exact representable computation.
Finite inputs shall retain 🔗 1. Bounded native integer Bezout assignment for native integers and 🔗 2. Exact unbounded integer Bezout coefficients for unbounded integers. Supported floating storage shall require finite integral source values and exact representable conversions and Euclidean coefficient intermediates. A successful result shall have nonnegative g and coefficients satisfying xs + yt = g, without requiring a particular coefficient pair. The extended gcd/lcm convention in 🔗 1. Extended greatest common divisor and least common multiple shall not expand this finite Bezout domain.
The raw storage shall be a supported native integer, mpz_class or native floating-point type, shared by all five arguments. Arguments may be raw or use admitted checked policies. All three outputs shall be live, pairwise distinct and separate from both sources. Sources may be the same object and shall retain their entry values. Objects shall be synchronized and resources sufficient. The operation shall require no rounding default or result handler and shall invoke no handler; named assignment shall retain the single-handler protocol in 🔗 3. Checked integral divisor functions and Bezout outputs. Surviving outputs shall remain live and reassignable after rejection, without a rollback promise for g.