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

Re: fast math lib?

"Christopher C. Chimelis" wrote:

> On Wed, 14 Jun 2000, Kerstin Hoef-Emden wrote:
> > what do you recommend: Using the lffm of Joachim Wesener or the
> > Compaq compilers to increase calculation speed of
> > "home-compiled" programs (21164a, potato)?
> Both do well, but I'd personally prefer the Compaq CPML library.  It's
> faster in most cases, and provides for more functions (and
> exceptions) than libffm.  I maintain the libffm debs, so those are
> available for use, in case you wanted to keep it "free" though.

Indeed, CPML is faster for most things, but the "vector" routines dsqrtv and
dsqrtiv in libffm can be several times faster than a loop doing the same.

Try installing libffm-dev, prototypes are in /usr/include/libffm.h .


-Adam P.

Reply to: