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

# Functions

ParseCases returns a slice of test cases in .fptest form read from r.

# Constants

absolute value.
add.
convert string to float.
convert to string.
convert between floating point formats.
convert float to integer.
convert integer to float.
class.
copy.
copy sign.
divide.
equivalent.
fused multiply-add.
is finite.
is inf.
is nan.
is norm.
is signaling.
is signed.
is subnormal.
is zero.
logb.
maxnum.
maxnummag.
minnum.
minnummag.
multiply.
negate.
next after.
next down.
next up.
NoData is output when the operation throws some sort of Condition and does not "return" any data.
quantize.
quiet comparison.
remainder.
round float to int.
same quantum.
scalb.
Custom.
signaling comparison.
square root.
subtract.

# Structs

Case represents a specific test case.

# Type aliases

Condition is a bitmask value raised after or during specific operations.
Data is input or output from a test case.
Op is a specific operation the test case must perform.