[Date Prev ][Date Next ][Thread Prev ][Thread Next ][Date Index ][Thread Index ]
bug#68871: Can't use od to print half-precision floats
From :
Pádraig Brady
Subject :
bug#68871: Can't use od to print half-precision floats
Date :
Thu, 1 Feb 2024 21:59:29 +0000
User-agent :
Mozilla Thunderbird
On 01/02/2024 19:16, Paul Eggert wrote:
Oh, and another thought: suppose someone wants to use od on bfloat16_t
values? They're popular in machine learning applications, and likely
will be more popular than float16_t overall. See:
https://sourceware.org/pipermail/libc-alpha/2024-February/154382.html
True. I suppose we would select between these like:
-t f2, -t fh = IEEE half precision
-t fb = brain floating point
bfloat16 looks like a truncated single precision IEEE,
so we should be able to just pad the extra 16 bits with zeros
when converting to single precision internally for processing.
cheers,
Pádraig
bug#68871: Can't use od to print half-precision floats , Rozenberg, Eyal (Consultant) , 2024/02/01
bug#68872: Can't use od to print half-precision floats , Rozenberg, Eyal (Consultant) , 2024/02/01
bug#68871: Can't use od to print half-precision floats , Pádraig Brady , 2024/02/01
bug#68871: Can't use od to print half-precision floats , Paul Eggert , 2024/02/01
bug#68871: Can't use od to print half-precision floats , Paul Eggert , 2024/02/01
bug#68871: Can't use od to print half-precision floats ,
Pádraig Brady <=
bug#68871: Can't use od to print half-precision floats , Paul Eggert , 2024/02/01
bug#68871: Can't use od to print half-precision floats , Rozenberg, Eyal (Consultant) , 2024/02/02
bug#68871: Can't use od to print half-precision floats , Pádraig Brady , 2024/02/04
bug#68871: Can't use od to print half-precision floats , Paul Eggert , 2024/02/04
bug#68871: Can't use od to print half-precision floats , Pádraig Brady , 2024/02/05