fn atan(x: anytype) @TypeOf(x)

Returns the arc-tangent of x.

Special Cases:

  • atan(+-0) = +-0
  • atan(+-inf) = +-pi/2

Parameters

x: anytype,