package
3.4.0+incompatible
Repository: https://github.com/ericlagergren/decimal.git
Documentation: pkg.go.dev

# Packages

Package debug provides simple routines for debugging continued fractions.

# Functions

Acos returns the arccosine, in radians, of x.
Asin returns the arcsine, in radians, of x.
Atan returns the arctangent, in radians, of x.
Atan2 calculates arctan of y/x and uses the signs of y and x to determine the valid quadrant Range: y input: all real numbers x input: all real numbers Output: -pi < Atan2(y, x) <= pi Special cases: Atan2(NaN, NaN) = NaN Atan2(y, NaN) = NaN Atan2(NaN, x) = NaN Atan2(±0, x >=0) = ±0 Atan2(±0, x <= -0) = ±pi Atan2(y > 0, 0) = +pi/2 Atan2(y < 0, 0) = -pi/2 Atan2(±Inf, +Inf) = ±pi/4 Atan2(±Inf, -Inf) = ±3pi/4 Atan2(y, +Inf) = 0 Atan2(y > 0, -Inf) = +pi Atan2(y < 0, -Inf) = -pi Atan2(±Inf, x) = ±pi/2 Atan2(y, x > 0) = Atan(y/x) Atan2(y >= 0, x < 0) = Atan(y/x) + pi Atan2(y < 0, x < 0) = Atan(y/x) - pi.
BinarySplit sets z to the result of the binary splitting formula and returns z.
BinarySplitDynamic sets z to the result of the binary splitting formula.
Ceil sets z to the least integer value greater than or equal to x and returns z.
Cos returns the cosine, in radians, of x.
E sets z to the mathematical constant e and returns z.
Exp sets z to e**x and returns z.
Floor sets z to the greatest integer value less than or equal to x and returns z.
Hypot sets z to Sqrt(p*p + q*q) and returns z.
Lentz sets z to the result of the continued fraction provided by the Generator and returns z.
Log sets z to the natural logarithm of x and returns z.
Log10 sets z to the common logarithm of x and returns z.
Pi sets z to the mathematical constant pi and returns z.
Pi sets z to the mathematical constant pi and returns z.
Sin returns the sine, in radians, of x.
Sqrt sets z to the square root of x and returns z.
Tan returns the tangent, in radians, of x.
Wallis sets z to the result of the continued fraction provided by the Generator and returns z.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author