"Marco Bodrato" <bodr...@mail.dm.unipi.it> 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). Regards, /Niels -- Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26. Internet email is subject to wholesale government surveillance. _______________________________________________ gmp-devel mailing list gmp-devel@gmplib.org https://gmplib.org/mailman/listinfo/gmp-devel