YoushouldhavereceivedcopiesoftheGNUGeneralPublicLicenseandthe GNULesserGeneralPublicLicensealongwiththeGNUMPLibrary.Ifnot,
see https://www.gnu.org/licenses/. */
if (size >= 0)
{ /* As with infinite precision: one's complement, two's complement. Butthiscanbesimplifiedusingtheidentity-x=~x+1.
So we're going to compute (~~x) + 1 = x + 1! */
if (UNLIKELY (size == 0))
{ /* special case, as mpn_add_1 wants size!=0 */
MPZ_NEWALLOC (dst, 1)[0] = 1;
SIZ (dst) = -1;
} else
{
mp_limb_t cy;
/* Store a negative size, to indicate ones-extension. */
SIZ (dst) = -size;
}
} else
{ /* As with infinite precision: two's complement, then one's complement. Butthatcanbesimplifiedusingtheidentity-x=~(x-1).
So we're going to compute ~~(x - 1) = x - 1! */
size = -size;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.