register -- cheap optimization for when no compiler-level optimization is used.
Turns out that this is faster than the original, when no compiler-level optimization is done.
No need to reinvent abs() which is standard and may be faster.