dashu icon indicating copy to clipboard operation
dashu copied to clipboard

different behavior of `to_f32` and `to_f64`

Open Shoeboxam opened this issue 5 months ago • 5 comments

I just wanted to check if it is intentional to have to_f32 respect the rounding mode of self, but to_f64 always round to HalfEven. I think the API would be less surprising if these behaved the same way, and more useful if to_f64 were adjusted to use the same rounding mode as self.

Thanks as always!

Shoeboxam avatar Aug 29 '24 22:08 Shoeboxam