in 1.1.6, various ways to implement the absolute value function