Commit

0a19c03

Because binary floating-point can introduce rounding errors, use decimal arithmetic when financial precision or exact arithmetic invariants matter. It’s more human-friendly and integrates seamlessly with Python.
python
# standard floating-point
In [1]: 1.1 + 1.3
Out[1]: 2.4000000000000004


# decimal floating-point
In [2]: from decimal import Decimal

In [3]: Decimal("1.1") + Decimal("1.3")
Out[3]: Decimal('2.4')

commit 0a19c03