Version 2.1.0
Version 2.1.0 of Basencode includes great improvements, especially in accuracy of calculations. Float
s now use Decimal
(from Python's built-in module decimal
) instead of plain float
s so as to ensure the maximum possible accuracy in calculations. Due to this increase in accuracy emerged the need for a way to limit the number of digits succeeding the radix point in a representation. This has been implemented by adding a max_frac_places
parameter to Float.repr_in_base
. For more information on the changes made in version 2.1.0, visit the changelog.