|
std 1.0.1
The f64 CEL standard library
|
Installs the f64 CEL standard library into an operation lookup. More...
Functions | |
| void | install (op_lookup &lookup) |
| Registers the Rust cel-std f64 signatures, excluding powi. | |
Installs the f64 CEL standard library into an operation lookup.
| void cel::stdlib::install | ( | op_lookup & | lookup | ) |
Registers the Rust cel-std f64 signatures, excluding powi.
Ordinary and receiver calls share these persistent registrations, including inside closure bodies. sin_cos returns a structural (f64, f64) tuple. The lookup owns all registration state; emitted programs retain their callbacks.
Registration failures propagate; installation need not leave the lookup unchanged. Numeric evaluation follows the linked CEL operation contracts. clamp throws std::invalid_argument("invalid clamp bounds") for reversed or NaN bounds.
Expected complexity: O(s + 1) time for s existing signatures under the installed names, with constant additional library registration storage.