binary_arith

Function binary_arith 

Source
pub fn binary_arith(
    op: BinaryOp,
    arg1: Value,
    arg2: Value,
    loc: Option<&Loc>,
) -> Result<Value, EvaluationError>
Expand description

Evaluate binary arithmetic operations (i.e., BinaryOp::Add, BinaryOp::Sub, and BinaryOp::Mul)