3 ms·
No, I was correct about the standards: http://www.altdevblogaday.com/2012/03/22/intermediate-floating-point-precision/ http://www.altdevblogaday.com/2012/03/22/
by pcwalton 13y ago
No, I was correct about the standards: http://www.altdevblogaday.com/2012/03/22/intermediate-floating-point-precision/ http://www.altdevblogaday.com/2012/03/22/intermediate-floati...
C98: "5.10 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."
You're right that most compilers in practice changed the precision to double. I think we're in violent agreement (and I learned a lot from this debate!) :)