Macro tvix_eval::arithmetic_op
source · macro_rules! arithmetic_op { ( $self:ident, $op:tt ) => { ... }; ( $a:expr, $b:expr, $op:tt ) => { ... }; }
Expand description
This module provides macros which are used in the implementation of the VM for the implementation of repetitive operations. This macro simplifies the implementation of arithmetic operations, correctly handling the behaviour on different pairings of number types.