Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
Piezoid
· 1y ago · 0 comments
Close floating-point subtraction loses precision: when x >> 1, sqrt(x+1) ≈ sqrt(x), so their difference suffers cancellation and end up rounding to zero. In contrast, sqrt(x+1) + sqrt(x) approaches 2*sqrt(x) smoothly.
Comments
No comments yet.
Better HN