Date: Tue, 14 Aug 2012 12:02:12 -0500 From: Stephen Montgomery-Smith <stephen@missouri.edu> To: freebsd-numerics@freebsd.org Subject: Re: Complex arg-trig functions Message-ID: <502A8494.2050707@missouri.edu> In-Reply-To: <502A820C.6060804@missouri.edu> References: <5017111E.6060003@missouri.edu> <501C361D.4010807@missouri.edu> <20120804165555.X1231@besplex.bde.org> <501D51D7.1020101@missouri.edu> <20120805030609.R3101@besplex.bde.org> <501D9C36.2040207@missouri.edu> <20120805175106.X3574@besplex.bde.org> <501EC015.3000808@missouri.edu> <20120805191954.GA50379@troutmask.apl.washington.edu> <20120807205725.GA10572@server.rulingia.com> <20120809025220.N4114@besplex.bde.org> <5027F07E.9060409@missouri.edu> <20120814003614.H3692@besplex.bde.org> <50295887.2010608@missouri.edu> <20120814055931.Q4897@besplex.bde.org> <50297468.20902@missouri.edu> <20120814173931.V934@besplex.bde.org> <502A820C.6060804@missouri.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On 08/14/2012 11:51 AM, Stephen Montgomery-Smith wrote: > On the other hand, getting sin(x) correct when x is close to, say, 10pi > would be useful. It would be nice if sin(x+0.01)-sin(x) is > approximately 0.01*cos(x), and if the computation (x mod pi/2) didn't > take into account a few extra digits of pi, and can see this failing for > certain values of x. s/0.01/n*DBL_EPSILON/ for small n.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?502A8494.2050707>