Limits and compatibility

VAL is a native C++ value layer. It supplies shape, type, storage, formatting, and arithmetic primitives, but it does not attach physical meaning or units to values; those semantics belong to PUQ and the modules built on it.

  • Scalar values use shape {1}. Array constructors accept flattened data and an explicit shape; the constructor does not infer or validate that the shape product equals the number of stored elements. Callers must keep those representations consistent.

  • The public data type is not always the internal storage type. Signed integers use a 64-bit storage type, unsigned integers use a 64-bit unsigned storage type, and Float32/Float64 use double storage. Consumers should use the type APIs rather than assuming the C++ storage type.

  • The reserved IntegerX and FloatX flags do not imply that every operation implements extended-precision storage.

  • Arithmetic and casts are limited to the value types and combinations implemented by VAL. Unsupported operations raise explicit VAL exceptions; they do not perform implicit unit or domain conversions.

  • The Python API is not a supported public value layer. Python bindings use native Python values at their public boundaries and expose the higher-level PUQ, MAT, and DIP objects.

  • VAL has no standalone command-line interface.

See the C++ API reference and Python VAL scope for generated declarations and the binding boundary.