[Date Prev][Date Next] [Thread Prev][Thread Next] [Thread Index] [Date Index] [Author Index]

*From*: Mogens Kjaer <mk crc dk>*To*: For users of Fedora <fedora-list redhat com>*Subject*: Re: OT : Approximate / fast math libraries ?*Date*: Sat, 01 Sep 2007 18:00:17 +0200

Chris Jones wrote: ...

yes, anthing is possible. However, before I go to the effort on implementingsomething myself, I was hoping to find some OSS solution. It struck me assuch a common issue there must be some solution out there already...

PadÃ© approximation: http://list.dprg.org/archive/2007-January/030202.html Note that you'll have to do a lot of testing on the signs of x and y, and handle atan z for |z|>1 as pi/2 - atan(1/z). All these steps might take longer than the standard atan2 function. I guess it doesn't speed up anything to do it in fixed point. Mogens -- Mogens Kjaer, Carlsberg A/S, Computer Department Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark Phone: +45 33 27 53 25, Fax: +45 33 27 47 08 Email: mk crc dk Homepage: http://www.crc.dk

**Follow-Ups**:**Re: OT : Approximate / fast math libraries ?***From:*Mogens Kjaer

**References**:**Re: OT : Approximate / fast math libraries ?***From:*Chris Jones

**Re: OT : Approximate / fast math libraries ?***From:*Mogens Kjaer

**Re: OT : Approximate / fast math libraries ?***From:*Chris Jones