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

Returns the cube root of x.

Special Cases:

  • cbrt(+-0) = +-0
  • cbrt(+-inf) = +-inf
  • cbrt(nan) = nan

Parameters

x: anytype,