pub fn const_eval(
op: &Operator,
vals: &[ConstVal],
ctx: Option<&mut InterpContext>,
) -> Option<ConstVal>
Expand description
Constant-evaluate the given operator with the given arguments, returning a constant result if possible to know.