From 5d2a880ffc83362e065ea5648fddad984cc197d8 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sun, 11 Oct 2026 09:31:45 +0200 Subject: [PATCH] numeric-leaves vectors: the 2^24+1 reads row and float32-nan.msgpack, written by the C# reference Regenerated with CULTCACHE_WRITE_VECTORS=1 on Yggdrasil (dotnet 10 image, 16 vector tests green). Completes the previous commit; both build, and the TS suites are checked once at the end. Co-Authored-By: Claude Opus 5.5 --- tests/vectors/numeric-leaves/README.md | 2 ++ .../numeric-leaves/float32-nan.msgpack | Bin 0 -> 103 bytes tests/vectors/numeric-leaves/reads.msgpack | Bin 3859 -> 3967 bytes 3 files changed, 2 insertions(+) create mode 100644 tests/vectors/numeric-leaves/float32-nan.msgpack diff --git a/tests/vectors/numeric-leaves/README.md b/tests/vectors/numeric-leaves/README.md index e7ecb070..3007204e 100644 --- a/tests/vectors/numeric-leaves/README.md +++ b/tests/vectors/numeric-leaves/README.md @@ -12,3 +12,5 @@ A document with one slot, `[value]`, whose slot is a C# `int`, `long`, `float` o the double it read (a float32 widened), and empty when refused. Every value is fed to every leaf. - `writes.msgpack`: an array of `[leaf, text, bytes]`. `text` is a decimal for an integer leaf and the double's IEEE bits in hex for a float leaf; `bytes` (bin) is the one-slot record the reference writes for that value. +- `float32-nan.msgpack`: an array of `[payload, bytes]`. `payload` (bin) is a one-slot `float` record holding an infinity + or a NaN; `bytes` (bin) is what the reference writes after reading it. It keeps every bit, a signalling NaN's included. diff --git a/tests/vectors/numeric-leaves/float32-nan.msgpack b/tests/vectors/numeric-leaves/float32-nan.msgpack new file mode 100644 index 0000000000000000000000000000000000000000..6c65acba4ca5f97deb9b3c750c6a726bb63a4f13 GIT binary patch literal 103 zcmbO>=?L4zQ}qoD3@{odzz7v!ga|BvssPdufddQ>6+jvy@Bpd;NP`9bH$YT?XaMY; BEI9xG literal 0 HcmV?d00001 diff --git a/tests/vectors/numeric-leaves/reads.msgpack b/tests/vectors/numeric-leaves/reads.msgpack index 51991ff24fb9298d58855b84582c0119ffd9cc1e..36f7f061cbdf106e3cc31021471cba322e6f77fb 100644 GIT binary patch delta 89 zcmbO%_g{|r4#R?t%zqdK&M`7DFdja_!2kpx=H{=Axy-yMqMJimuQ7AMgd7VdZ{!r- Qti$QRf+V&%igza?08vF4Z~y=R delta 32 ocmew_H(8GP4#S*{%zqd+OEM)hZ=S|_l6iAArz6Ye8@$UI0nVxn1poj5