https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61399
--- Comment #11 from Vincent Lefèvre <vincent-gcc at vinc17 dot net> --- In addition to the maximum exponent issue, for LDBL_MAX following the defect report, instead of 0x1.fffffffffffff7ffffffffffff8p+1023 I would expect 0x1.fffffffffffff7ffffffffffffcp+1023 = DBL_MAX + DBL_MAX * DBL_EPSILON / 4 as it is larger (it has one more trailing 1) and representable.