• jasory@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    3 months ago

    You can use Kahan summation to mitigate floating point errors. A mere 100 thousand floating point operations is a non-issue.

    As a heads up computational physics and mathematics tackle problems trillions of times larger than any financial computation, that’s were tons of algorithms have been developed to handle floating point errors. Infact essentially any large scale computation specifically accounts for it.