From: Joachim Wesner <Joachim.Wesner@frankfurt.netsurf.de>
Subject: Re: Free Compaq Math Library for Linux
Date: Wed, 03 Mar 1999 19:46:44 +0100 [thread overview]
Message-ID: <36DD8394.114FC10B@frankfurt.netsurf.de> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2274 bytes --]
Oops, is it March 15, already ???
Robert Harley wrote:
>
> Joachim quoted:
> >> Now, this CPML will enable customers to significantly increase the
> >> precision and speed of mathematical calculations by more than 10 times
> >> compared to other mathematical libraries currently available on Linux.
>
> and wrote:
>
> >I'd say, don't expect that much. And precision, AFAIK, is actually
> >comparable or worse than current libs
>
> The file http://www.unix.digital.com/linux/cpml.0.1.tar.gz
> contains a README that gives the following numbers:
Snip on many numbers
>
> Those suggest that the precision really is good and, compared to libm
> at least, there are several functions for which there is a 10x speed-up.
I see, this really is VERY good, I like it. But, where is the factor of
10 compared to any other lib currently available ? That's what O could
not believe ?
>
> >(I played around with some DU binary, sqrt is NOT correctly rounded).
>
> That happens is you use the "-fast" flag which is documented as:
>
> ==============================================================================
> -fast
> Provides a single method for turning on a collection of optimizations
> for increased performance.
>
> Note that the -fast flag can produce different results for floating-
> point arithmetic and math functions, although most programs are not
> sensitive to these differences. [...]
> ==============================================================================
>
> I doubt very much if the non "-fast" sqrt() has any last bit errors...
Yes, you must be right !!
> >AND, regarding the latest discussion here, it's HEAVILY table driven !
>
> Doh! Is there any consensus on what size of tables are accpetable for
> a library? For a specific app, it would be "as big as necessary to go
> as fast as possible" but for a library routine I try to stick to <=
> 256 bytes.
>
Yes, I agree, I'm actually *IN* the "why not do it table driven"
fraction !! I already had started to work on a table driven version of
libffm, but could not (yet) go on. No further need to continue, I guess.
Thanx, Compaq !!
Joachim
(Robert, sorry for the 2nd mail, wrong reply address !)
next reply other threads:[~1999-03-03 18:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-03 18:46 Joachim Wesner [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-03-03 17:36 Free Compaq Math Library for Linux Robert Harley
1999-03-03 15:39 Andrei A. Dergatchev
1999-03-03 16:59 ` Joachim Wesner
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox