Are you referring to https://en.wikipedia.org/wiki/Kahan_summation_algorithm by any chance?
If this is the case - we can easily implement this algorithm.
If this is the case - we can easily implement this algorithm.
[0] https://github.com/postgres/postgres/blob/3ed2005ff595d34927...
[1] http://blog.zachbjornson.com/2019/08/11/fast-float-summation...