Calculates the inverse trigonometric cotangent (arccotangent or arccot) of a real number. The value returned is the principal value and lies in the range (0, π) radians.