NOTE: can "only" represent numbers with a maximum of 2^31 digits after the decimal point. big.Rat is fine for representing rational numbers, but Decimal is better for representing money. Why? Here's a ...
Abstract: Decimal multiplication is important in many commercial applications including financial analysis, banking, tax calculation, currency conversion, insurance, and accounting. This paper ...
Abstract: The IEEE Standard 754-1985 for binary floating-point arithmetic [19] was revised [20], and an important addition is the definition of decimal floating-point arithmetic [8], [24]. This is ...