Golang math.Abs library function

The math.Abs() function in Golang is used to return the absolute value or modulus |x| of a real number x is the non-negative value of x without regard to its sign.