Date: Sun, 12 Aug 2012 23:03:24 -0000 From: Stephen Montgomery-Smith <stephen@missouri.edu> To: Peter Jeremy <peter@rulingia.com> Cc: Diane Bruce <db@db.net>, Bruce Evans <brde@optusnet.com.au>, John Baldwin <jhb@freebsd.org>, David Chisnall <theraven@freebsd.org>, Bruce Evans <bde@freebsd.org>, Steve Kargl <sgk@troutmask.apl.washington.edu>, David Schultz <das@freebsd.org>, Warner Losh <imp@bsdimp.com> Subject: Re: Use of C99 extra long double math functions after r236148 Message-ID: <50121124.4000002@missouri.edu> Resent-Message-ID: <20120812230317.GG20453@server.rulingia.com> In-Reply-To: <20120727032611.GB25690@server.rulingia.com> References: <20120717042125.GF66913@server.rulingia.com> <20120717043848.GB87001@troutmask.apl.washington.edu> <20120717225328.GA86902@server.rulingia.com> <20120717232740.GA95026@troutmask.apl.washington.edu> <20120718001337.GA87817@server.rulingia.com> <20120718123627.D1575@besplex.bde.org> <20120722121219.GC73662@server.rulingia.com> <500DAD41.5030104@missouri.edu> <20120724113214.G934@besplex.bde.org> <501204AD.30605@missouri.edu> <20120727032611.GB25690@server.rulingia.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 07/26/2012 10:26 PM, Peter Jeremy wrote: > I've been writing a test harness to vet the special case handling of > all the complex functions (excluding cpow so far). Basically, it's > just Appendix G.6 of WG14/N1256 turned into a C array, plus code to > actually run the tests & interpret the results. So far, it's about > 1100 lines of which about 1/3 is the test cases and is intended to run > on x86/armle/sparc and FreeBSD/Linux/Solaris (I'm using Solaris and, > to a lesser extent, Linux as a cross-check on my interpretation of the > text). Once I'm happy with it, I'll circulate it. I was initially > hoping to make it commitable but 8-char tabs and 80-char lines would > require lots of line wrapping that would make it harder for me to > follow. On the subject of Linux, I tested the relative errors of the Linux versions of clog, casinh, etc. They performed rather badly. They really flunked the clog(z) for |z| close to 1 test. As for your test program, maybe you could run some script to change the indents to the 8-char tabs when you are done. It does sound like a useful program, and it would be nice if it were generally available in the FreeBSD source code.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50121124.4000002>