Oscar Gustafsson wrote:
> I would take it that round x to N radix-R digits means
> round_to_integer(x * R**N)/R**N
> (ignoring floating-point issues)
Yes, this is the tried-and-true way: first define the function in exact
arithmetic, then ask for the floating point implementation to return an
ap
(Not a NumPy-dev, but here goes. Probably some of the discussions are "too
basic", but hard to say which.)
I would take it that round x to N radix-R digits means
round_to_integer(x * R**N)/R**N
(ignoring floating-point issues)
Now, we can discuss what round to integer means. There, the major
diff