Il 2019-08-27 21:10 t...@gmplib.org ha scritto:
Marco Bodrato <bodr...@mail.dm.unipi.it> writes:

  ... and on some platform mpn_rshift may not support cnt==0.

That was taken care of in ny last version.

I wrote my message before, and did not realize, before sending it, that you sent a new version :-)

I added a goto, I think that is an OK solution.

It is correct.
For a generic code with variable N, one may prefer a code that chooses if a copy or a shorter shift is needed. But this means more code and the shift could not be an in-lined fixed size version...

m

_______________________________________________
gmp-devel mailing list
gmp-devel@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-devel

Reply via email to