Public evidence
Machine-checked verification for calculation version 1.0.5 · tier engine_tested
CVP: CVP VERIFIED · CVP protocol 1.0.0-proposed · Core assurance· quotient or long integer division · Protocol · Schema · Production report
Legacy regression suite: 34/34 calculation tests · Production surface contract 3/3
Three distinct suites: educational examples on the calculator page, this legacy regression count (34/34 golden + boundary), and the CVP verification suite below. They are not the same number. Property, metamorphic, round-trip, O3, and interface statuses/checks are recorded in the CVP Manifest . SKIP (0/0) means that suite has no published vectors.
Protocol checks from the Evidence Manifest. Distinct from the legacy regression suite above. Verification revision 2026-09-08.exact-contract. Calculation version 1.0.5. CVP 1.0.0-proposed. 10/10 golden · 9/9 CVP boundary · 9/9 invalid · 8/8 property · 2/2 metamorphic · 2/2 round-trip · 9/9 O3 · 2/2 cross-interface · 1/1 CVP contract. digest e5997fd9b998. ≤2 ULP vs O3 applies to the published tabulated quotient vectors (1/3, 100/7, 1.005/1, 1/1e-300, (2^53−1)/7). Long-division vectors are exact integer q,r (Python int divmod). This is not a whole-domain guarantee.
Fingerprint sha256:05136052816fe802b95ce1f369c0341dfe5f63760c652c650da94052ac1624f2
Input schema sha256:c2fbe7133f0d6d938d97df912ce41744cab1a9b9c4c036e7d96091ea87b90b86 · Output schema sha256:cd04600caf14ef379fce2d64ad8015d48c4e2db551808873c8e534cf37d8159f · Build-time SHA-256 digests prove published artifacts agree with each other (release_integrity.scope=workspace). Production attestation GETs canonical URLs twice (public/cached view and origin), including Capability HTML, via npm run attest:production --write
(published at /.well-known/calculatorx-production-attestation.json) and fails if the public Capability page advertises a different calculation_version. This is artifact consistency, not an independent immutable release log.
Engine identity and declared limitations.
Standards and references supporting this tool specification. Methods are listed separately — they are algorithms, not bibliographic sources.
Golden and boundary cases from the legacy Evidence JSON. CVP property, metamorphic, round-trip, O3, and interface statuses/checks are recorded in the Manifest — including SKIP when a suite has no vectors.
| ID | Kind | Status | Detail |
|---|---|---|---|
exact-int | golden | pass | Expected decimal_value=2 · exact=true · ieee_value=2 · Actual value=2 · mode=quotient · a=8 · b=4 · ieee_value=2 · decimal_places=8 · precision=8 · rounding=IEEE-754 binary64 a/b, then Number.prototype.toFixed(n) (round half away from 0 on that binary64 value). Display may strip trailing zeros. Not decimal arbitrary-precision. |
decimal-100-div-7 | golden | pass | Expected decimal_value=14.28571429 · exact=false · precision=8 · Actual value=14.285714285714286 · mode=quotient · a=100 · b=7 · ieee_value=14.285714285714286 · decimal_places=8 · precision=8 · rounding=IEEE-754 binary64 a/b, then Number.prototype.toFixed(n) (round half away from 0 on that binary64 value). Display may strip trailing zeros. Not decimal arbitrary-precision. |
decimal-ieee | golden | pass | Expected 14.285714285714285 · Actual value=14.285714285714286 · mode=quotient · a=100 · b=7 · ieee_value=14.285714285714286 · decimal_places=8 · precision=8 · rounding=IEEE-754 binary64 a/b, then Number.prototype.toFixed(n) (round half away from 0 on that binary64 value). Display may strip trailing zeros. Not decimal arbitrary-precision. |
one-third | golden | pass | Expected decimal_value=0.33333333 · exact=false · Actual value=0.3333333333333333 · mode=quotient · a=1 · b=3 · ieee_value=0.3333333333333333 · decimal_places=8 · precision=8 · rounding=IEEE-754 binary64 a/b, then Number.prototype.toFixed(n) (round half away from 0 on that binary64 value). Display may strip trailing zeros. Not decimal arbitrary-precision. |
two-thirds | golden | pass | Expected decimal_value=0.66666667 · exact=false · Actual value=0.6666666666666666 · mode=quotient · a=2 · b=3 · ieee_value=0.6666666666666666 · decimal_places=8 · precision=8 · rounding=IEEE-754 binary64 a/b, then Number.prototype.toFixed(n) (round half away from 0 on that binary64 value). Display may strip trailing zeros. Not decimal arbitrary-precision. |
zero-dividend | golden | pass | Expected decimal_value=0 · ieee_value=0 · exact=true · Actual value=0 · mode=quotient · a=0 · b=7 · ieee_value=0 · decimal_places=8 · precision=8 · rounding=IEEE-754 binary64 a/b, then Number.prototype.toFixed(n) (round half away from 0 on that binary64 value). Display may strip trailing zeros. Not decimal arbitrary-precision. |
div-one | golden | pass | Expected decimal_value=7 · ieee_value=7 · Actual value=7 · mode=quotient · a=7 · b=1 · ieee_value=7 · decimal_places=8 · precision=8 · rounding=IEEE-754 binary64 a/b, then Number.prototype.toFixed(n) (round half away from 0 on that binary64 value). Display may strip trailing zeros. Not decimal arbitrary-precision. |
div-self | golden | pass | Expected decimal_value=1 · ieee_value=1 · Actual value=1 · mode=quotient · a=7 · b=7 · ieee_value=1 · decimal_places=8 · precision=8 · rounding=IEEE-754 binary64 a/b, then Number.prototype.toFixed(n) (round half away from 0 on that binary64 value). Display may strip trailing zeros. Not decimal arbitrary-precision. |
neg-dividend | golden | pass | Expected decimal_value=-14.28571429 · exact=false · Actual value=-14.285714285714286 · mode=quotient · a=-100 · b=7 · ieee_value=-14.285714285714286 · decimal_places=8 · precision=8 · rounding=IEEE-754 binary64 a/b, then Number.prototype.toFixed(n) (round half away from 0 on that binary64 value). Display may strip trailing zeros. Not decimal arbitrary-precision. |
neg-divisor | golden | pass | Expected decimal_value=-14.28571429 · exact=false · Actual value=-14.285714285714286 · mode=quotient · a=100 · b=-7 · ieee_value=-14.285714285714286 · decimal_places=8 · precision=8 · rounding=IEEE-754 binary64 a/b, then Number.prototype.toFixed(n) (round half away from 0 on that binary64 value). Display may strip trailing zeros. Not decimal arbitrary-precision. |
neg-both | golden | pass | Expected decimal_value=14.28571429 · exact=false · Actual value=14.285714285714286 · mode=quotient · a=-100 · b=-7 · ieee_value=14.285714285714286 · decimal_places=8 · precision=8 · rounding=IEEE-754 binary64 a/b, then Number.prototype.toFixed(n) (round half away from 0 on that binary64 value). Display may strip trailing zeros. Not decimal arbitrary-precision. |
decimals-quot | golden | pass | Expected decimal_value=3 · ieee_value=3 · exact=true · Actual value=3 · mode=quotient · a=1.5 · b=0.5 · ieee_value=3 · decimal_places=8 · precision=8 · rounding=IEEE-754 binary64 a/b, then Number.prototype.toFixed(n) (round half away from 0 on that binary64 value). Display may strip trailing zeros. Not decimal arbitrary-precision. |
decimals-zero | golden | pass | Expected decimal_value=14 · precision=0 · exact=false · Actual value=14.285714285714286 · mode=quotient · a=100 · b=7 · ieee_value=14.285714285714286 · decimal_places=0 · precision=0 · rounding=IEEE-754 binary64 a/b, then Number.prototype.toFixed(n) (round half away from 0 on that binary64 value). Display may strip trailing zeros. Not decimal arbitrary-precision. |
max-safe-not-math-exact | golden | pass | Expected ieee_value=1286742750677284.5 · exact=false · display_exact=true · Actual value=1286742750677284.5 · mode=quotient · a=9007199254740991 · b=7 · ieee_value=1286742750677284.5 · decimal_places=8 · precision=8 · rounding=IEEE-754 binary64 a/b, then Number.prototype.toFixed(n) (round half away from 0 on that binary64 value). Display may strip trailing zeros. Not decimal arbitrary-precision. |
binary64-tofixed-artifact | golden | pass | Expected decimal_value=1 · Actual value=1.005 · mode=quotient · a=1.005 · b=1 · ieee_value=1.005 · decimal_places=2 · precision=2 · rounding=IEEE-754 binary64 a/b, then Number.prototype.toFixed(n) (round half away from 0 on that binary64 value). Display may strip trailing zeros. Not decimal arbitrary-precision. |
div-zero | boundary | pass | Expected DIVISION_BY_ZERO · Actual DIVISION_BY_ZERO |
long-100-7 | golden | pass | Expected quotient=14 · remainder=2 · exact=false · Actual value=14.285714285714286 · mode=long · integer_engine=bigint · a=100 · b=7 · ieee_value=14.285714285714286 · quotient=14 · remainder=2 |
long-487-32 | golden | pass | Expected quotient=15 · remainder=7 · Actual value=15.21875 · mode=long · integer_engine=bigint · a=487 · b=32 · ieee_value=15.21875 · quotient=15 · remainder=7 |
long-zero | golden | pass | Expected quotient=0 · remainder=0 · exact=true · Actual value=0 · mode=long · integer_engine=bigint · a=0 · b=7 · ieee_value=0 · quotient=0 · remainder=0 |
long-a-lt-b | golden | pass | Expected quotient=0 · remainder=3 · Actual value=0.42857142857142855 · mode=long · integer_engine=bigint · a=3 · b=7 · ieee_value=0.42857142857142855 · quotient=0 · remainder=3 |
long-equal | golden | pass | Expected quotient=1 · remainder=0 · exact=true · Actual value=1 · mode=long · integer_engine=bigint · a=7 · b=7 · ieee_value=1 · quotient=1 · remainder=0 |
long-divides | golden | pass | Expected quotient=2 · remainder=0 · exact=true · Actual value=2 · mode=long · integer_engine=bigint · a=8 · b=4 · ieee_value=2 · quotient=2 · remainder=0 |
long-reject-decimal | boundary | pass | Expected INVALID_INPUT · Actual INVALID_INPUT |
long-reject-negative | boundary | pass | Expected INVALID_INPUT · Actual INVALID_INPUT |
long-div-zero | boundary | pass | Expected DIVISION_BY_ZERO · Actual DIVISION_BY_ZERO |
long-bigint-past-safe | golden | pass | Expected quotient=9007199254740993 · remainder=0 · exact=true · integer_engine=bigint · Actual mode=long · integer_engine=bigint · a=9007199254740993 · b=1 · quotient=9007199254740993 · remainder=0 · decimal_places=8 · precision=8 |
long-bigint-huge | golden | pass | Expected quotient=1286742750677284731922398 · remainder=3 · exact=false · Actual mode=long · integer_engine=bigint · a=9007199254740993123456789 · b=7 · quotient=1286742750677284731922398 · remainder=3 · decimal_places=8 · precision=8 |
quotient-reject-unsafe-int | boundary | pass | Expected INTEGER_OUT_OF_SAFE_RANGE · Actual INTEGER_OUT_OF_SAFE_RANGE |
decimals-out-of-range | boundary | pass | Expected DECIMAL_PLACES_OUT_OF_RANGE · Actual DECIMAL_PLACES_OUT_OF_RANGE |
decimals-16-ok | golden | pass | Expected decimal_value=0.3333333333333333 · precision=16 · Actual value=0.3333333333333333 · mode=quotient · a=1 · b=3 · ieee_value=0.3333333333333333 · decimal_places=16 · precision=16 · rounding=IEEE-754 binary64 a/b, then Number.prototype.toFixed(n) (round half away from 0 on that binary64 value). Display may strip trailing zeros. Not decimal arbitrary-precision. |
long-reject-neg10 | boundary | pass | Expected INVALID_INPUT · Actual INVALID_INPUT |
long-too-long | boundary | pass | Expected INTEGER_TOO_LONG · Actual INTEGER_TOO_LONG |
arithmetic-op-div-regression | golden | pass | Expected 2 · Actual 2 |
boundary-div-zero | boundary | pass | Expected DIVISION_BY_ZERO · Actual DIVISION_BY_ZERO |