It's still not perfect because it cumulates two inexact operations:
- one inexact operation in the multiplication pten * self
- one inexact operation in the division / pten
Example (0.995 round: 2) -> 1.00 though 0.995 < (995/1000) so it should round to 0.99.
Thanks. This stuff is really tricky !
Stef