Closed christianp closed 1 year ago
The expression dpformat(list(0.2..4#0.2)[6],20) should produce exactly 1.4, but instead it currently produces 1.40000000000000010.
dpformat(list(0.2..4#0.2)[6],20)
1.4
1.40000000000000010
Some avoidable accumulation of rounding error must be happening when computing the entries in the range.
The expression
dpformat(list(0.2..4#0.2)[6],20)
should produce exactly1.4
, but instead it currently produces1.40000000000000010
.Some avoidable accumulation of rounding error must be happening when computing the entries in the range.