Checked arithmetic, saturation, ratios, ranges, alignment and time conversion.
Embedded safety-critical calculations need explicit overflow status and predictable saturation.
- Portable C99-oriented implementation.
- Deterministic integer or fixed-point behavior documented at function level.
- No mandatory heap, threads or operating-system services.
- Separate translation units for selective linking.
cmake -S . -B build -DCLAUDARIS_BUILD_TESTS=ON
cmake --build build --config Release --parallel
ctest --test-dir build -C Release --output-on-failureFor a minimal integration, include only the required public header and compile the matching source unit.
| Need | Read |
|---|---|
| Choose a primitive | Family guide |
| Check every function and contract | API reference |
| Reproduce tests and see validation limits | Testing report |
| Review design and dependencies | Architecture |
| See measured or pending performance data | Performance |
The public surface consists of 46 callable APIs in 46 public headers under include/. The implementation includes one private shared helper alongside the 46 public implementation units. Automated validation currently registers 43 C test programs and one C++ public-header smoke test. State, buffers and output ownership are explicit in each public header contract.
The CMake test option is CLAUDARIS_BUILD_TESTS. The library has no mandatory third-party dependency. Platform-specific link requirements are documented in CMake and the affected API header.
The audit test suite directly exercises 46/46 public APIs, including deterministic boundary checks and seeded differential tests. The current audit matrix and hardware status are recorded in docs/AUDIT.md and docs/TESTING.md. Earlier ESP32-S3 evidence is historical; current hardware status is HW NOT VERIFIED.
Detailed overflow, rounding, invalid-input, memory-ownership and state rules are defined by the public headers and API reference. Do not infer them from the product name alone.
Apache License 2.0, copyright Vanderhell. See LICENSE and NOTICE.