From defb2cf06a9b5db9429ca368d8c2af127a5c9c3d Mon Sep 17 00:00:00 2001 From: eunhhu Date: Mon, 19 Oct 2026 01:53:40 +0100 Subject: 027's 5c: money as i64 minor units shown by .Nd: NUM_TEXT's decimal form takes digits (bits 20-24 as FIXED's), an integer's last N digits written after a point (1234 at two is 12.34, -5 -0.05, 0 0.00; width and zeros after the sign), verification allowing digits on FIXED and DECIMAL alone; unit test: ten rows of formats_and_held (-2^63 at two, 25 digits, a number's whole 1234, its 12.5 a limit); TPC-C's money i64 cents and its rates ten-thousandths (tables, messages, load, the transactions), SQLite's INTEGER columns and int64 bindings alike, the comparison now exact (no 1e-9 tolerance): after 20,000 transactions every row of every table the same (grouped SQLite too) and 3.3.2 holding on both; counts: b45 against b44 BFS without batches +0.09%, the rest within 0.001%; the bank's queries (s44 and s45 in turns, six each) in_credit -0.59%, per_branch -0.34%, ranks -0.20%, the rest within 0.01%, the seven answers the same bytes; 008 (NUM_TEXT's digits, a message row's i64 cells), 027 and 092 --- research/experiments/041-batches/2026-10-19-counts.jsonl | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'research/experiments/041-batches/2026-10-19-counts.jsonl') diff --git a/research/experiments/041-batches/2026-10-19-counts.jsonl b/research/experiments/041-batches/2026-10-19-counts.jsonl index 958d9d2..fbb9666 100644 --- a/research/experiments/041-batches/2026-10-19-counts.jsonl +++ b/research/experiments/041-batches/2026-10-19-counts.jsonl @@ -38,3 +38,13 @@ {"version":"b44","way":"rounds","work":"matmul","instructions":21186170497,"cycles":6763916506} {"version":"b44","way":"batches","work":"bfs","instructions":3341455171,"cycles":1657087395} {"version":"b44","way":"rounds","work":"bfs","instructions":4703547672,"cycles":2087752517} +{"version":"b45","way":"batches","work":"roots","instructions":157245335,"cycles":109451862} +{"version":"b45","way":"rounds","work":"roots","instructions":2715504052,"cycles":1002258422} +{"version":"b45","way":"batches","work":"knapsack","instructions":348031907,"cycles":105539805} +{"version":"b45","way":"rounds","work":"knapsack","instructions":22162412220,"cycles":7775287896} +{"version":"b45","way":"batches","work":"join","instructions":1783720583,"cycles":1039636935} +{"version":"b45","way":"rounds","work":"join","instructions":7723077757,"cycles":3351023538} +{"version":"b45","way":"batches","work":"matmul","instructions":702231936,"cycles":226733671} +{"version":"b45","way":"rounds","work":"matmul","instructions":21186169957,"cycles":6774482517} +{"version":"b45","way":"batches","work":"bfs","instructions":3341456134,"cycles":1665227825} +{"version":"b45","way":"rounds","work":"bfs","instructions":4707546895,"cycles":2096871761} -- cgit v1.2.3