https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108742
Matthias Kretz (Vir) <mkretz at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mkretz at gcc dot gnu.org --- Comment #14 from Matthias Kretz (Vir) <mkretz at gcc dot gnu.org> --- It seems like the C++ standard doesn't allow excess precision of floating-point literals. And it wouldn't allow (float)3.14f to be anything different than 3.14f either. See https://cplusplus.github.io/CWG/issues/2752.html