YoushouldhavereceivedcopiesoftheGNUGeneralPublicLicenseandthe GNULesserGeneralPublicLicensealongwiththeGNUMPLibrary.Ifnot,
see https://www.gnu.org/licenses/. */
#include <stdio.h> /* for NULL */ #include"gmp-impl.h"
/* mpn_gcdext requires that Usize >= Vsize. Therefore, we often havetoswapUandV.Thecomputedcofactorwillbethe "smallest"one,whichisfastertoproduce.Thewantedonewill
be computed here; this is needed anyway when both are requested. */
if (bsize == 0)
{ /* g = |a|, s = sgn(a), t = 0. */
ssize = SIZ (a) >= 0 ? (asize != 0) : -1;
if (g != NULL)
{ /* If g == a, then ALLOC(g) == ALLOC(a) >= asize, i.e.
the next MPZ_NEWALLOC returns the old PTR(a) .*/
gp = MPZ_NEWALLOC (g, asize);
MPN_COPY (gp, PTR (a), asize);
SIZ (g) = asize;
} if (t != NULL)
SIZ (t) = 0; if (s != NULL)
{
SIZ (s) = ssize;
MPZ_NEWALLOC (s, 1)[0] = 1;
} return;
}
sp = MPZ_NEWALLOC (s, ssize);
MPN_COPY (sp, tmp_sp, ssize);
SIZ (s) = tmp_ssize;
}
if (g != NULL)
{
gp = MPZ_NEWALLOC (g, gsize);
MPN_COPY (gp, tmp_gp, gsize);
SIZ (g) = gsize;
}
TMP_FREE;
}
Messung V0.5 in Prozent
¤ 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.0.3Bemerkung:
¤
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.