Hi Morten, On Sat, Mar 02, 2024 at 09:02:24PM -0500, Morten Welinder wrote: > Thanks. > > There is (was?) already crlibm out there. > https://core-math.gitlabpages.inria.fr/ No particular need for wheel > reinvention here. crlibm doesn't seem to exist anymore. Maybe just add some headers to core-math, and package it as a standalone library. > FWIW, it appears that the author of the glibc exp10 implementation > agrees with me that the implementation is sub-standard: > > https://codebrowser.dev/glibc/glibc/math/e_exp10.c.html > > /* This is a very stupid and inprecise implementation. It'll get > replaced sometime (soon?). */ > return __ieee754_exp (M_LN10 * arg); Hmmm. Still, it's simple. If pow(10, x) is strictly better, maybe one can prove it and send a patch. Or for something better, it'll take more work. Have a lovely night! Alex -- Looking for a remote C programming job at the moment.