2 ms·
Isn't this dumb? Don't you just consume bits in precision instead of bits in maximum variable space? average += (x-average)/count As soon as count becomes lar
by noonespecial 18y ago
Isn't this dumb? Don't you just consume bits in precision instead of bits in maximum variable space?
average += (x-average)/count
As soon as count becomes large enough, (x-average)/count will equal zero in your system and you "averager" will be broken.
Seems to me you've just moved your representation bits from one side of a decimal to the other.