Expand description
Scalar-domain spec, literal matcher, and the shared op-loop installer.
Each scalar number domain crate repeats the same load() registration loop
(binary/unary/reduction ops, each in both literal and value form). This is
the shared installer: a domain crate describes its ops as data
(ScalarOps) and calls install_scalar_ops.
Structs§
- Domain
Literal Matcher - A matcher accepting
Expr::Numberliterals in exactly one domain. - Scalar
Binary Op - One binary op in both literal and value form.
- Scalar
Domain Spec - Static identity of a scalar number domain (data only).
- Scalar
Ops - The full op set for one scalar domain.
- Scalar
Reduction Op - One reduction op in both literal and value form.
- Scalar
Unary Op - One unary op in both literal and value form.
Traits§
- Scalar
Literal Matcher - Tests whether an expression is a literal in some scalar domain.
Functions§
- install_
scalar_ ops - Register every op in
ops(literal and value form) againstlinker. - number_
domain_ class_ stub - The
ObjectCompat::classstub every number-domain object returns: the registeredcore/NumberDomainclass, or a fresh stub for it. This body was byte-identical across all ~12 numeric-domain crates before OVERLAP6.09; each domain’sfn classnow delegates here.