*pseudo code
If both positive:
ABS(a-b) or MAX(a,b) - MIN(a,b)
ABS(a-b)
MAX(a,b) - MIN(a,b)
If both negative:
ABS(ABS(a) - ABS(b)) or MAX(a,b) - MIN(a,b)
ABS(ABS(a) - ABS(b))
If one positive and one negative:
Hence for all situations: