Inline abs and sign