little C++ experiment because I was curious, adding floats but rounding them probabilistically to get better accuracy / less floating point errorhttps://pastebin.com/SMpLJExD
-
-
I don't want anything, this was purely about curiosity. Needing to keep a separate error accumulator value around, may as well just store it as a double instead. stochastic rounding works on any operation also, not just addition
-
Gotcha.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.