how to estimate 1-a/b with (a close to b) correct# Computation - 科学计算
s*i
1 楼
Hi,
it is well known that we should try to avoid the subtration of two nearly equal
numbers due to the cancellation error.
Is there any smart way to rewrite 1-a/b when a and b are close?
Thanks.
it is well known that we should try to avoid the subtration of two nearly equal
numbers due to the cancellation error.
Is there any smart way to rewrite 1-a/b when a and b are close?
Thanks.