|
|
|
|
|
by alexey-salmin
888 days ago
|
|
> It can reorder your computations so that something that used to sum to 1 now sums to 0, it can cause catastrophic cancellation, etc. Yes, and it could very well be that the correct answer is actually 0 and not 1. Unless you write your code to explicitly account for fp associativity effects, in which case you don't need generic forum advice about fast-math. |
|