speed and mpn_set_str

Torbjorn Granlund tg at gmplib.org
Wed Jan 9 11:02:59 CET 2013

Zimmermann Paul <Paul.Zimmermann at loria.fr> writes:

  it seems the speed command considers for mpn_set_str the size of the *input*,
  i.e., the number of *bytes* of the input string, and not the number of limbs
  of the corresponding mpn number.
There are a couple of quirks in tune/speed program and similarly in

In the case of tune/speed it usually follows what tune/tuneup does,
which is output the type needed by the library.  This might require some
interpretation by humans.


More information about the gmp-devel mailing list