logoalt Hacker News

tialaramexyesterday at 9:28 PM1 replyview on HN

That paper explains some useful optimisation details, but obviously since the floats are all (either infinity or) some multiple of a known tiny fraction (their smallest non-zero number), we can definitely sum them accurately.


Replies

mjcohenyesterday at 11:32 PM

Not if the ratio between the largest and smallest floats is very large (2^(2^n)) where n is the number of bits in the exponent.

show 1 reply