Can anyone tell me if there's any formula for calculating |a+b| (for All a & b) or any such expression?

I went through a similar post of Janefairfax or somebody where absolute values formulas were there for some programming purposes...

Don't know where to find that post..

Plz help me!