Home /Modules/comparison/NUMERIC-UNICODE-EDGE-VECTORS.md

NUMERIC-UNICODE-EDGE-VECTORS.md

comparison/NUMERIC-UNICODE-EDGE-VECTORS.md · 43 line(s) · markdown

Numeric and Unicode Edge Vectors

Standard: SCS-TEST-002 | Edition 1.0 | Status: executable cross-language batch

Purpose

This suite extends the arithmetic/ASCII smoke test with explicitly defined fixed-width integer and Unicode observations. It currently tests C11, C++17, and Java 21+ on the configured operating systems. It does not yet claim SLeeLa VM coverage for these edge cases.

Normative expectations

Vector ledger

IDInput / operationExpected
INT32-MINMinimum signed 32-bit value-2147483648
INT32-MAXMaximum signed 32-bit value2147483647
UINT32-WRAPUINT32_MAX + 10
SIGNED-DIV-7 / 3, truncating toward zero-2
SIGNED-REM-7 % 3-1
UTF8-BYTESUTF-8 byte length of Aé😀7
UNICODE-CODEPOINTSUnicode code-point count of Aé😀3

Implementation notes

Commands

Run locally with Python 3, a C11 compiler, a C++17 compiler, and JDK 21+:

python3 comparison/tests/run_edge_vectors.py

The runner emits comparison-edge-results.json with actual outputs, toolchain version strings, platform, and overall status. CI uploads this file per operating system.

Qualification boundary

Passing this suite qualifies only these seven observations for the tested compiler/runtime versions and CI platforms. It does not establish SLeeLa VM behavior, floating-point equivalence, every integer width, overflow rules for signed values, Unicode normalization, grapheme segmentation, malformed UTF-8 handling, or ABI compatibility.