gcd_22

Niels Möller nisse at lysator.liu.se
Thu Aug 15 19:09:20 UTC 2019


Attached is a patch to move the current (slow) gcd_2 to a separate file, rename
it mpn_gcd_22, change argument and return type, and add a basic test.

Do you agree with the naming in 

typedef struct
{
  mp_limb_t d0, d1;
} mp_double_limb_t;

or should it be something else?

Next would be speed support, and then it's easier to try ways to make it
faster.

Regards,
/Niels

-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-gcd_22.patch
Type: text/x-diff
Size: 10308 bytes
Desc: not available
URL: <https://gmplib.org/list-archives/gmp-devel/attachments/20190815/55c6fc2a/attachment.bin>
-------------- next part --------------

-- 
Niels M?ller. PGP-encrypted email is preferred. Keyid 368C6677.
Internet email is subject to wholesale government surveillance.



More information about the gmp-devel mailing list