remove extra division in mpq/aors.c

Torbjorn Granlund tg at gmplib.org
Sun Feb 20 19:34:16 CET 2011


Marc Glisse <marc.glisse at inria.fr> writes:

  Yes, I started from the first patch and changed it so that the
  multiplication wasn't in-place anymore, which should give a hard to
  notice speed-up.
  
OK, I'll apply that patch instead.  Could you please make a change log
for it?

BTW, did you make sure the temps will be suffient?

I wonder if 4 distinct temp areas (gcd, tmp1, tmp2, t) are really
necessary.

I have attached a patch to modernise a related function.  Does it look
correct to you?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo
Type: application/octet-stream
Size: 2202 bytes
Desc: not available
URL: <http://gmplib.org/list-archives/gmp-discuss/attachments/20110220/6955024f/attachment.obj>
-------------- next part --------------

-- 
Torbj?rn


More information about the gmp-discuss mailing list