Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

reassociation

Regrouping a sum or product, such as (a + b) + c into a + (b + c); harmless for integers, but it changes float results.

Reassociation rewrites an expression using associativity; because each floating-point operation rounds, it can change the result, so compilers may do it to FP code only when told (for example -ffast-math, or -fassociative-math together with -fno-signed-zeros; Clang ignores -fassociative-math on its own).

Read the full section →