mpq_cmp_z

Torbjörn Granlund tg at gmplib.org
Thu Aug 20 07:13:54 UTC 2015


"Marco Bodrato" <bodrato at mail.dm.unipi.it> writes:

  Maybe I've found a good sharing strategy...
  
I'll take a proper look later.

One idea which could perhaps avoid some branch is if you accepted a
den_size argument for the "maybe" function.

(We might consider adding mpf_cmp_z too, at least in a simple-minded
manner, to keep the GMP interface as orthogonal as possible.)

-- 
Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-devel mailing list