The C standard (and C++: [expr.7.1.6], and Fortran), states:
The values of the floating operands and the results of floating expressions may be represented in greater precision and range than that required by the type; the types are not changed thereby.
Some compilers use greater precisions for the results of floating-point expressions by default (GCC, MSVC), and some compilers do not (Clang), but most of them (not all) are standard conforming and provide a way to control the floating-point contraction behavior.
I write programs that do a lot of floating-point arithmetic.
Is there a general recommendation about whether one should enable or disable contraction by default? Or should I decide this on a case-by-case basis? If so, what should I weight as arguments in favor or against enabling contraction by default for a whole application ?
This other answer (Is floating point expression contraction allowed in C++?) explains what contraction is, and what the standard rules are, but offers no advice about how to use it. I have experienced both some advantages (e.g. faster performance) and some disadvantages (e.g. super hard to debug bugs) of contraction, but would like to know if there is community consensus about what's the recommended thing to do by default, or if this is one of those things that should be decided on a case-by-case basis (and if that's the case, how do I decide this beforehand?).