YoushouldhavereceivedcopiesoftheGNUGeneralPublicLicenseandthe GNULesserGeneralPublicLicensealongwiththeGNUMPLibrary.Ifnot,
see https://www.gnu.org/licenses/. */
#include"gmp-impl.h"
/* Currently bits>=BITS_PER_ULONG is quietly truncated to BITS_PER_ULONG,
maybe this should raise an exception or something. */
/* start with zeros, since if bits==0 then _gmp_rand will store nothing at
all, or if bits <= GMP_NUMB_BITS then it will store only a[0] */
a[0] = 0; #if LIMBS_PER_ULONG > 1
a[1] = 0; #endif
_gmp_rand (a, rstate, MIN (bits, BITS_PER_ULONG));
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.