Skip to content

The math library

tim-hardcastle edited this page Sep 27, 2023 · 1 revision

As these functions are in effect wrappers around their Golang counterparts, I hope it will suffice for now just to give the signatures of the functions in the library without detailed descriptions of what they do.

  • abs(x float64)
  • acos(x float64)
  • acosh(x float64)
  • asin(x float64)
  • asinh(x float64)
  • atan(x float64)
  • atan2(y, x float64)
  • atanh(x float64)
  • cbrt(x float64)
  • ceil(x float64)
  • copysign(f, sign float64)
  • cos(x float64)
  • cosh(x float64)
  • dim(x, y float64)
  • erf(x float64)
  • erfc(x float64)
  • erfcinv(x float64)
  • erfinv(x float64)
  • exp(x float64)
  • exp2(x float64)
  • expm1(x float64)
  • fMA(x float64, y float64, z float64)
  • floor(x float64)
  • frexp(f float64)
  • gamma(x float64)
  • hypot(p, q float64)
  • inf(sign int)
  • isInf(f float64, sign int)
  • isNaN(f float64)
  • j0(x float64)
  • j1(x float64)
  • jn(n int, x float64)
  • ldexp(frac float64, ex int)
  • lgamma(x float64)
  • log(x float64)
  • log10(x float64)
  • log1p(x float64)
  • log2(x float64)
  • logb(x float64)
  • max(x, y float64)
  • min(x, y float64)
  • mod(x, y float64)
  • modf(x float64)
  • nextafter(x, y float64)
  • pow(x, y float64)
  • pow10(n int)
  • remainder(x, y float64)
  • round(x float64)
  • roundToEven(x float64)
  • signbit(x float64)
  • sin(x float64)
  • sincos(x float64)
  • sinh(x float64)
  • sqrt(x float64)
  • tan(x float64)
  • tanh(x float64)
  • trunc(x float64)
  • y0(x float64)
  • y1(x float64)
  • yn(n int, x float64)
Clone this wiki locally