Date: Fri, 15 Dec 2017 17:33:25 -0800 From: Steve Kargl <sgk@troutmask.apl.washington.edu> To: freebsd-numerics@freebsd.org Subject: progress on powl. Message-ID: <20171216013325.GA27344@troutmask.apl.washington.edu>
next in thread | raw e-mail | index | archive | help
All, As expect no one elase is working on powl, I have dusted off my work-in-progress that is now some 1+ year in the works. I've now got a sort of working version in very limited testing. % ./testl -a 1.2345 3.124 libmu = LD80C(0xf7303d48d62e9df4, 0, 1.93115964943387024991e+00L), mpfru = LD80C(0xf7303d48d62e9df5, 0, 1.93115964943387025002e+00L), ulp = 0.73609 I'm still slowing working out some thresholds and few other kinks. The biggest problem is that src/e_pow.c may be the worse commented code that I've had the pleasure to read. There are 3 polynomial approximations. One is easy to work. The other two are gaint mysteries at moment. I'll note that src/e_powf.c uses the same polynomials and it appears that these use naively rounded coefficients. I suspect that these polynomials can be reduced to lower order, but have pursued that yet. -- Steve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171216013325.GA27344>