num_div for two integers used to fall back to double when the quotient wasn't exact. R7RS / python lumbda require exact-in → exact-out for /. Fixed: the rational_normalize path was already wired for the is_exact branch; the int/int branch now calls it too instead of make_double. (/ 67 7) → 67/7 (was 9.5714285714285712) (/ 1 3) → 1/3 (was 0.33333…) (/ 6 2) → 3 (exact stays integer) (+ 1/3 1/6) → 1/2 (rational arithmetic propagates) C native + C-WASM tier now match python lumbda on / between integers. asm tier rationals remain pending — that needs bignums in asm first. native c-test: 205/205 still passes. |
||
|---|---|---|
| .. | ||
| asm | ||
| c | ||
| fonts/chunkfive | ||
| python | ||
| crypto.js | ||
| index.html | ||
| lumbda-logo-green.png | ||
| repl.css | ||
| repl.js | ||
| runner.js | ||
| style.css | ||
| worker.mjs | ||