#if0 /* Disabled due to the bogosity of trying to fake an _mp_d pointer to
below an object. Has been seen to fail on a hppa system and on ia64. */
/* Create a fake mpz consisting of just a single 1 bit, with totbits being
the total number of bits, inclusive of that 1 bit. */ void
mpz_fake_bits (mpz_ptr z, unsignedlong totbits)
{ static mp_limb_t n; unsignedlong zero_bits, zero_limbs;
/* This was seen to fail on a GNU/Linux powerpc32 with gcc 2.95.2, apparentlyduetoadoubtfulvalueofmp_bases[10].chars_per_bit_exactly (0X1.34413509F79FDP-2whereas0X1.34413509F79FFP-2isbelievedcorrect). Presumablythisisaglibcproblemwhengccconvertsthedecimalstring inmp_bases.c,ormaybeit'sonlyafunctionoftheroundingmodeduring
compilation. */ void
check_sample (void)
{ unsignedlong totbits = 198096465; int base = 10;
size_t want = 59632979;
size_t got;
mpz_t z;
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.