Date: Tue, 9 Nov 2010 07:48:13 -0800 From: Steve Kargl <sgk@troutmask.apl.washington.edu> To: Alexander Best <arundel@freebsd.org> Cc: Dag-Erling Sm?rgrav <des@des.no>, arch@freebsd.org Subject: Re: Moving flex and yacc to contrib/, all hell breaks loose? Message-ID: <20101109154813.GA64438@troutmask.apl.washington.edu> In-Reply-To: <20101109132338.GA70099@freebsd.org> References: <20101107141804.GN85693@acme.spoerlein.net> <86eiaw0wsf.fsf@ds4.des.no> <20101109132338.GA70099@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 09, 2010 at 01:23:38PM +0000, Alexander Best wrote: > On Mon Nov 8 10, Dag-Erling Sm?rgrav wrote: > > Ulrich Sp?rlein <uqs@spoerlein.net> writes: > > > To my knowledge, the only "vendor" software in our tree, not yet living > > > under cddl/, contrib/, crypto/ or gnu/ are > > > > > > lib/libc/softfloat > > > lib/libz > > > lib/msun > > > usr.bin/lex > > > usr.bin/unifdef > > > usr.bin/yacc > > > > I have no opinion on the others, but AFAIK, msun is a mix of unmodified > > third-party code, locally modified third-party code and locally > > developed code (which is how my name ended up in the Android credits), > > and I'm not sure there still is a third-party maintainer for our version > > of msun. > > i talked to david hough who is working for oracle. he said that oracle has no > business interest in libmsun at all! the mailinglist fdlibm-comments@sun.com > will be shut down and every issues etc. with libmsun shall now be discussed > here: > > http://mailman.oakapple.net/mailman/listinfo/numeric-interest > > this message contains a brief statement by oracle [1]. > > so it seems lib/msun can be moved to the list of third party software with > ceased upstream development. > > cheers. > alex Interesting mailing! I particularly like http://mailman.oakapple.net/pipermail/numeric-interest/2010-September/002057.html which loops back to http://www.freebsd.org/cgi/query-pr.cgi?pr=144306 which is still open some 9 months later. Here's an updated diff that also fixes jnf(). Watch for cut-n-paste corruption of whitespace. -- steve troutmask:root[217] svn diff src/e_jn*c Index: src/e_jn.c =================================================================== --- src/e_jn.c (revision 213691) +++ src/e_jn.c (working copy) @@ -200,7 +200,12 @@ } } } - b = (t*__ieee754_j0(x)/b); + z = __ieee754_j0(x); + w = __ieee754_j1(x); + if (fabs(z) >= fabs(w)) + b = (t*z/b); + else + b = (t*w/a); } } if(sgn==1) return -b; else return b; Index: src/e_jnf.c =================================================================== --- src/e_jnf.c (revision 213691) +++ src/e_jnf.c (working copy) @@ -152,7 +152,12 @@ } } } - b = (t*__ieee754_j0f(x)/b); + z = __ieee754_j0f(x); + w = __ieee754_j1f(x); + if (fabs(z) >= fabs(w)) + b = (t*z/b); + else + b = (t*w/a); } } if(sgn==1) return -b; else return b; -- Steve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101109154813.GA64438>