operand and absolute value
actions specified according to input type