normal floating point arithmetic of a pc applies in this case. I have seen many bisection algorithms do it like m2. Why does m1 produce a lower accurate result?
normal floating point arithmetic of a pc applies in this case. I have seen many bisection algorithms do it like m2. Why does m1 produce a lower accurate result?
The more operations the larger the rounding errors will become, similarly one should avoid subtracting near equal quantities. All of which makes m1 probably better than m2.