|
|
|
|
|
by throwaway260124
711 days ago
|
|
Sorting the floats reduces the error. I think using multiple accumulators reduces the accuracy then. And sorted data is not uncommon. I think there is always a correct answer and the compiler shouldn’t make changes at least by default that are wrong. But ways for the programmer to express his intent more clearly are always welcome. |
|