From b79f627af433a63f8f42869b124f5ef344a49352 Mon Sep 17 00:00:00 2001 From: eunhhu Date: Mon, 19 Oct 2026 01:13:07 +0100 Subject: 027's stage 5 designed and 5a made: two numbers (number, binary64, the default of literals and of counts, positions, lengths and u32 fields, whole to 2^53 exactly; i64 the exact integers past it, bits and money, never mixed, moved by number() and i64() when exact), / a number's division, // the floored quotient, i64 folds exact (only the result in range, so in any order), number folds in order unless the batch executor's 2^53 test says any order is exact, money as i64 minor units shown by .Nd, a replace carrying number, bool and i64 when exact; 5a: opcode FLOORDIV (95, 96 now): a number's floored quotient as Python's float //, exactly (a less its floored remainder, divided, to the nearest whole; a zero signed as a / b; by zero divide), a new opcode so the JIT, the tier and the batch executor leave it to the executor; unit test floor_division (7 // 2, -7 // 2, 7 // -2, 1 // 0.1 = 9, 0 // -3 = -0, 1e300 // 7, by zero); counts: b43 against b42 within 0.001% but BFS without batches -0.09%; the bank's queries (s42 and s43 in turns, six each) -0.20% to 0.00%; 008 and 027 --- research/experiments/041-batches/2026-10-19-counts.jsonl | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'research/experiments/041-batches') diff --git a/research/experiments/041-batches/2026-10-19-counts.jsonl b/research/experiments/041-batches/2026-10-19-counts.jsonl index df0c154..3746b9e 100644 --- a/research/experiments/041-batches/2026-10-19-counts.jsonl +++ b/research/experiments/041-batches/2026-10-19-counts.jsonl @@ -18,3 +18,13 @@ {"version":"b42","way":"rounds","work":"matmul","instructions":21186409896,"cycles":7038688726} {"version":"b42","way":"batches","work":"bfs","instructions":3341462103,"cycles":1673340823} {"version":"b42","way":"rounds","work":"bfs","instructions":4709148541,"cycles":2184940702} +{"version":"b43","way":"batches","work":"roots","instructions":157246397,"cycles":109505019} +{"version":"b43","way":"rounds","work":"roots","instructions":2715503987,"cycles":999976397} +{"version":"b43","way":"batches","work":"knapsack","instructions":348031324,"cycles":105474340} +{"version":"b43","way":"rounds","work":"knapsack","instructions":22162562687,"cycles":7749754834} +{"version":"b43","way":"batches","work":"join","instructions":1783720391,"cycles":1012592603} +{"version":"b43","way":"rounds","work":"join","instructions":7723677646,"cycles":3345712383} +{"version":"b43","way":"batches","work":"matmul","instructions":702230543,"cycles":227373960} +{"version":"b43","way":"rounds","work":"matmul","instructions":21186409838,"cycles":6817006402} +{"version":"b43","way":"batches","work":"bfs","instructions":3341463903,"cycles":1640907916} +{"version":"b43","way":"rounds","work":"bfs","instructions":4705147005,"cycles":2086468365} -- cgit v1.2.3