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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
You can use -fexcess-precision=16 if you don't want treating _Float16 and
__bf16 as having excess precision.  With excess precision, I think the above
behavior is correct.
You'd need (int) (__bf16) 257.0bf16 to get 256 even with excess precision.

Reply via email to