Hi John,
John Tytgat
* config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy.
Approved and applied.
Cheers
Nick
Ping ? Paul, seen that you've contributed fp16.c together with Sandra
Loosemore, perhaps you can review this patch please ?
John.
In message
John Tytgat wrote:
> __gnu_f2h_internal in libgcc converts single-precision floating-point value
> to half-precision value for ARM. I noticed
In message
John Tytgat wrote:
> [...] Attached patch solves this problem. [...]
This time for real.
John Tytgat.
--
John Tytgat, in his comfy chair at home
john.tyt...@aaug.net
Index: libgcc/config/arm/fp16.c
===
--- li
__gnu_f2h_internal in libgcc converts single-precision floating-point value
to half-precision value for ARM. I noticed there is a slight inaccuracy
for floating-point values 2^-25 + epsilon (with epsilon > 0 and < 2^-26).
Those should all be converted to 2^-24 in half-precision.
And this because