Niels Möller nisse at
Wed Aug 26 15:55:48 UTC 2015

"Marco Bodrato" <bodrato at> writes:

> My idea is to check if the den{ominator} is one by checking this condition:
> (SIZ(den) | PTR(den)[0]) == 1

I think it is correct, assuming that at this point in the code it is
known that SIZ(den) != 0 (and that den is normalized, so that SIZ(den)
== 1 implies that PTR(den)[0] != 0).


Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.

More information about the gmp-devel mailing list