GMP division plans

Décio Luiz Gazzoni Filho decio at decpp.net
Sat Apr 8 00:04:47 CEST 2006


On Apr 7, 2006, at 4:56 PM, Linas Vepstas wrote:

> On Tue, Apr 04, 2006 at 09:53:07PM +0200, Paul Zimmermann wrote:
>>
>> I disagree. On the contrary I suggest to remove multiplication and  
>> to only
>> provide squaring. Users who really want to perform non-square  
>> products can
>> still compute them as [(a+b)^2-(a-b)^2] >> 2. Future versions of  
>> GMP might
>> include some addsub instruction to make this computation very  
>> efficient.
>
> I am finding this conversation confusing.
>
> So are you saying that, in terms of performance and efficiency, its
> faster to perform  [(a+b)^2-(a-b)^2] >> 2  than it is to perform  
> a*b ??
>
> If so, why aren't we doing this today ?
> If not, then why would we get rid of something that's fast?

I was ashamed enough that I fell for the MPFR decimal floating point  
hoax, but this takes the cake...

I suggest you unsubscribe from the list and forever hang your head in  
shame.

Décio

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://gmplib.org/list-archives/gmp-discuss/attachments/20060408/75eab74d/PGP.bin


More information about the gmp-discuss mailing list