[Bug math/28472] pow(10, i) accuracy

newbie-02 at gmx dot de sourceware-bugzilla@sourceware.org
Mon Jan 9 14:43:09 GMT 2023


https://sourceware.org/bugzilla/show_bug.cgi?id=28472

--- Comment #9 from b. <newbie-02 at gmx dot de> ---
gnumeric / goffice have found a solution / workaround to get correct powers of
ten for integer exponents, see
https://gitlab.gnome.org/GNOME/goffice/-/issues/62 .  
It works quite well and performant, for long doubles the table needs some space
( ~260kB ), the effort is justified because the results influence the scaling,
and thus results, in almost all other rounding calculations.  
In this respect, I would recommend implementing similar for glibc until a
better solution is found.  
( having a bug with clear description and test program 'unconfirmed' after more
than 12 month is a questionable performance ... )

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list