On Mon, 18 Mar 2024, liuhongt wrote: > +If @option{-fexcess-precision=16} is specified, casts and assignments of > +@code{_Float16} and @code{bfloat16_t} cause value to be rounded to their > +semantic types if they're supported by the target.
Isn't that option about rounding results of all operations, whether or not a cast or assignment is involved? That's certainly what the brief mention of this option in extend.texi says, and fits the intent that -fexcess-precision=16 corresponds to FLT_EVAL_METHOD == 16. -- Joseph S. Myers josmy...@redhat.com