vile / scheme / testdata / bignum_cases_provenance.txt
24 lines · 18 sloc · 1.33 KB · 76646891b77a3d5c6af4a1e42b122cd61dc1654b
Raw
Independent exact-number fixture

Generated with Python int, fractions.Fraction, math, and IEEE struct conversion.
Seed: 539365653. Cases: 1241. No Vile result or runtime source determines expected values.

Generator: generate_bignum_cases.py
Generator SHA256: dcb0311983c248c8131ea512795c233d62aa005209f973c17993aa8009a006f4
TSV SHA256: 24feb22a0b4ec67dd7e76bed7f63ed2a53d099bd5958dc77f45a439cafd66a14

Regenerate into a separate directory to retain the full JSON operand/type details:
  python3 scheme/testdata/generate_bignum_cases.py --output /tmp/vile-bignum-fixtures
  cmp scheme/testdata/bignum_cases.tsv /tmp/vile-bignum-fixtures/bignum_cases.tsv

The seven TSV fields are id, category, source expression, expectation mode, printed
value, canonical runtime kind, and hexadecimal f64 bits. Modes are write, f64_bits,
and error. The last two fields may be empty; preserve trailing tab fields.

Integer division families retain this dialect's integer-only operand domain;
nonintegral rational operands are expected errors. Ordinary / and rational
rounding retain full exact-rational expectations. Nonfinite source literals are
not assumed: fixture expressions construct them through string->number.

The former negative-large-square-root error now has an exact complex result,
independently derived with Python math.isqrt. All 1241 cases remain present.