https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128912

--- Comment #5 from Joseph S. Myers <jsm28 at gcc dot gnu.org> ---
One place in the C front end checks whether one floating format has at least
the range and precision of another with code:

                    if (arg_fmt->b == tg_fmt->b
                        && arg_fmt->p <= tg_fmt->p
                        && arg_fmt->emax <= tg_fmt->emax
                        && (arg_fmt->emin - arg_fmt->p
                            >= tg_fmt->emin - tg_fmt->p))

You might need extra checks to be fully general for non-IEEE formats (lacking
infinities, NaNs or subnormals) in some cases.

Reply via email to