Date: Sun, 29 Jul 2012 09:13:00 +1000 From: Peter Jeremy <peter@rulingia.com> To: Stephen Montgomery-Smith <stephen@missouri.edu> 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: <20120728231300.GA20741@server.rulingia.com> Resent-Message-ID: <20120812230437.GQ20453@server.rulingia.com> In-Reply-To: <501460BB.30806@missouri.edu> References: <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> <20120728125824.GA26553@server.rulingia.com> <501460BB.30806@missouri.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
--RnlQjJ0d97Da+TV1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2012-Jul-28 16:59:23 -0500, Stephen Montgomery-Smith <stephen@missouri.e= du> wrote: >On 07/28/2012 07:58 AM, Peter Jeremy wrote: >> Whilst I was debugging the code, I found the following elisp useful >> for post-processing the output: >> >> (progn (downcase-region (point-min) (point-max)) >> (repl-regexp "^ [ ]c" "..c") >> (repl-regexp "^ c" ".c") =2E.. Oops, I forgot that repl-regexp is one of my private functions: (defun repl-regexp (from to) "Replace every occurrence of regexp FROM with TO in current buffer." (goto-char (point-min)) (while (search-forward-regexp from nil t) (replace-match to nil nil))) Note that it's safe to execute that progn in the buffer contaning ctest output. >It is a really nice program. Thanks. >I forgot - does it check the fenv settings as well? It would be great=20 >if it does. Not yet. That's my next task. I've also been thinking about how to do better than cpow(x,y) =3D cexp(y*clog(x)). --=20 Peter Jeremy --RnlQjJ0d97Da+TV1 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlAUcfwACgkQ/opHv/APuIfZAQCgmtyP3h43SfeM4pXZdDZy0fmH ytkAn2GBeNDh403HQ2ggOe6IQFkhM23E =hsx+ -----END PGP SIGNATURE----- --RnlQjJ0d97Da+TV1--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120728231300.GA20741>