
Suggested replacement text: [...] expectations that are at odds with binary floating point (for instance, in binary floating point, 1.00 % 0.1 gives 0.09999999999999995 instead of 0.0; Decimal('1.00') % Decimal('0.1') returns the expected Decimal('0.00')). On Sat, Jun 12, 2010 at 4:41 AM, Alexander Belopolsky <alexander.belopolsky@gmail.com> wrote:
Not worth a tracker entry, so I am just sending this to docs and Mark.
I find current "(for instance, in binary floating point, 1.00 % 0.1 gives 0.09999999999999995 instead of the expected Decimal("0.00") returned by decimal floating point)" in the introduction a bit unclear because neither Decimal class nor it's constructor taking a string has been introduced by that point. I think it is better to just use 0.00 for the "expected" value.