https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79366
--- Comment #4 from Bernd Edlinger <bernd.edlinger at hotmail dot de> --- Ah, I see, you mean C89: 3.2.1.3 Floating and integral When a value of floating type is converted to integral type, the fractional part is discarded. If the value of the integral part cannot be represented by the integral type, the behavior is undefined. /23/