Executable: test_double_single - Source: tests/test_double_single.cpp - Results: double_single.md
Verifies the two-float extended precision type of ARCHITECTURE.md. Note that the renderer does not reference this type; it is validated as a standalone numerical component (TECHNICAL_MANUAL.md).
| Section | Check | Criterion |
|---|---|---|
| Conversion | Round trip of two doubles | Absolute error below 1e-13 |
| Arithmetic | Addition, subtraction, multiplication, division | Relative error below 1e-13 against native double |
| Functions | Square root of 137.036, sine and cosine of 1.2346 | Relative error below 1e-13 |
| Ordering | Comparison operators, absolute value, minimum and maximum | Consistent ordering |
The tolerance of 1e-13 reflects the roughly 48 mantissa bits of the representation.
All checks pass.