Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion FixedPoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ def toDecimalString(self, precision=None, round10=False):
of the indicative base-10 precision, which may be
significantly less than the number of decimal digits
required to fully represent the lowest-order
fractional bit. Set this to self.family.fractional_bits
fractional bit. Set this to self.family.fraction_bits
to guarantee that all non-zero decimal digits are shown.
round10 - Round last decimal digit of fractional part,
by adding 0.5/10^precision.
Expand Down