SB-GMP

SB-GMP

properties


ID: SB-GMP


MAKE-GMP-RSTATE-LC   compiled function

properties


ID: SB-GMP:MAKE-GMP-RSTATE-LC
ALLOC: HEAP DYNAMIC



MAKE-GMP-RSTATE-LC names a compiled function:
  Lambda-list: (A C M2EXP)
  Derived type: (FUNCTION (T T T) (VALUES SB-GMP::GMP-RSTATE &OPTIONAL))
  Documentation:
    Instantiate a state for the GMP linear congruential random numbergenerator.
  Inline proclamation: MAYBE-INLINE (inline expansion available)
  Source file: SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

MPZ-2FAC   compiled function

properties


ID: SB-GMP:MPZ-2FAC
ALLOC: HEAP DYNAMIC



MPZ-2FAC names a compiled function:
  Lambda-list: (N)
  Derived type: (FUNCTION (T) (VALUES (OR NULL INTEGER) &OPTIONAL))
  Source file: SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

RAND-SEED   compiled function

properties


ID: SB-GMP:RAND-SEED
ALLOC: HEAP DYNAMIC



RAND-SEED names a compiled function:
  Lambda-list: (STATE SEED)
  Derived type: (FUNCTION (T T) (VALUES NULL &OPTIONAL))
  Documentation:
    Initialize a random STATE with SEED.
  Inline proclamation: MAYBE-INLINE (inline expansion available)
  Source file: SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

MPZ-DIVISIBLE-P   compiled function

properties


ID: SB-GMP:MPZ-DIVISIBLE-P
ALLOC: HEAP DYNAMIC



MPZ-DIVISIBLE-P names a compiled function:
  Lambda-list: (N D)
  Derived type: (FUNCTION (INTEGER INTEGER) (VALUES BOOLEAN &OPTIONAL))
  Documentation:
    Returns T if (ZEROP (MOD N D)).
  Inline proclamation: MAYBE-INLINE (inline expansion available)
  Source file: SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

RANDOM-INT   compiled function

properties


ID: SB-GMP:RANDOM-INT
ALLOC: HEAP DYNAMIC



RANDOM-INT names a compiled function:
  Lambda-list: (STATE BOUNDARY)
  Derived type: (FUNCTION (T T) (VALUES INTEGER &OPTIONAL))
  Documentation:
    Return a random integer in the range 0..(boundary - 1).
  Inline proclamation: MAYBE-INLINE (inline expansion available)
  Source file: SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

MPZ-FAC   compiled function

properties


ID: SB-GMP:MPZ-FAC
ALLOC: HEAP DYNAMIC



MPZ-FAC names a compiled function:
  Lambda-list: (N)
  Derived type: (FUNCTION (T) (VALUES (OR NULL INTEGER) &OPTIONAL))
  Inline proclamation: MAYBE-INLINE (inline expansion available)
  Source file: SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

MPZ-PROBABLY-PRIME-P   compiled function

properties


ID: SB-GMP:MPZ-PROBABLY-PRIME-P
ALLOC: HEAP DYNAMIC



MPZ-PROBABLY-PRIME-P names a compiled function:
  Lambda-list: (N &OPTIONAL (REPS 25))
  Derived type: (FUNCTION (INTEGER &OPTIONAL T)
                 (VALUES (SIGNED-BYTE 32) &OPTIONAL))
  Source file: SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

MPQ-MUL   compiled function

properties


ID: SB-GMP:MPQ-MUL
ALLOC: HEAP DYNAMIC



MPQ-MUL names a compiled function:
  Lambda-list: (A B)
  Derived type: (FUNCTION (T T) (VALUES RATIONAL &OPTIONAL))
  Inline proclamation: MAYBE-INLINE (inline expansion available)
  Source file: SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

LOAD-GMP   compiled function

properties


ID: SB-GMP:LOAD-GMP
ALLOC: HEAP DYNAMIC



LOAD-GMP names a compiled function:
  Lambda-list: (&KEY (PERSISTENTLY T))
  Derived type: (FUNCTION (&KEY (:PERSISTENTLY T))
                 (VALUES (OR PATHNAME NULL) &OPTIONAL))
  Source file: SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

MPQ-SUB   compiled function

properties


ID: SB-GMP:MPQ-SUB
ALLOC: HEAP DYNAMIC



MPQ-SUB names a compiled function:
  Lambda-list: (A B)
  Derived type: (FUNCTION (T T) (VALUES RATIONAL &OPTIONAL))
  Inline proclamation: MAYBE-INLINE (inline expansion available)
  Source file: SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

MPZ-ADD   compiled function

properties


ID: SB-GMP:MPZ-ADD
ALLOC: HEAP DYNAMIC



MPZ-ADD names a compiled function:
  Lambda-list: (A B)
  Derived type: (FUNCTION (INTEGER INTEGER) (VALUES INTEGER &OPTIONAL))
  Inline proclamation: MAYBE-INLINE (inline expansion available)
  Source file: SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

INSTALL-GMP-FUNS   compiled function

properties


ID: SB-GMP:INSTALL-GMP-FUNS
ALLOC: HEAP DYNAMIC



INSTALL-GMP-FUNS names a compiled function:
  Lambda-list: ()
  Derived type: (FUNCTION NIL (VALUES &OPTIONAL))
  Source file: SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

  • Called by
    • SB-GMP:LOAD-GMP
definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

MPZ-FDIV-2EXP   compiled function

properties


ID: SB-GMP:MPZ-FDIV-2EXP
ALLOC: HEAP DYNAMIC



MPZ-FDIV-2EXP names a compiled function:
  Lambda-list: (A B)
  Derived type: (FUNCTION (INTEGER T) (VALUES INTEGER &OPTIONAL))
  Inline proclamation: MAYBE-INLINE (inline expansion available)
  Source file: SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

MPZ-MUL   compiled function

properties


ID: SB-GMP:MPZ-MUL
ALLOC: HEAP DYNAMIC



MPZ-MUL names a compiled function:
  Lambda-list: (A B)
  Derived type: (FUNCTION (INTEGER INTEGER) (VALUES INTEGER &OPTIONAL))
  Inline proclamation: MAYBE-INLINE (inline expansion available)
  Source file: SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

MPQ-ADD   compiled function

properties


ID: SB-GMP:MPQ-ADD
ALLOC: HEAP DYNAMIC



MPQ-ADD names a compiled function:
  Lambda-list: (A B)
  Derived type: (FUNCTION (T T) (VALUES RATIONAL &OPTIONAL))
  Inline proclamation: MAYBE-INLINE (inline expansion available)
  Source file: SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

MPZ-SUB   compiled function

properties


ID: SB-GMP:MPZ-SUB
ALLOC: HEAP DYNAMIC



MPZ-SUB names a compiled function:
  Lambda-list: (A B)
  Derived type: (FUNCTION (INTEGER INTEGER) (VALUES INTEGER &OPTIONAL))
  Inline proclamation: MAYBE-INLINE (inline expansion available)
  Source file: SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

MPZ-BIN   compiled function

properties


ID: SB-GMP:MPZ-BIN
ALLOC: HEAP DYNAMIC



MPZ-BIN names a compiled function:
  Lambda-list: (N K)
  Derived type: (FUNCTION (INTEGER T) (VALUES (OR NULL INTEGER) &OPTIONAL))
  Inline proclamation: MAYBE-INLINE (inline expansion available)
  Source file: SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

MPZ-LCM   compiled function

properties


ID: SB-GMP:MPZ-LCM
ALLOC: HEAP DYNAMIC



MPZ-LCM names a compiled function:
  Lambda-list: (A B)
  Derived type: (FUNCTION (INTEGER INTEGER) (VALUES INTEGER &OPTIONAL))
  Inline proclamation: MAYBE-INLINE (inline expansion available)
  Source file: SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

MPZ-SQRT   compiled function

properties


ID: SB-GMP:MPZ-SQRT
ALLOC: HEAP DYNAMIC



MPZ-SQRT names a compiled function:
  Lambda-list: (A)
  Derived type: (FUNCTION (INTEGER) (VALUES INTEGER &OPTIONAL))
  Inline proclamation: MAYBE-INLINE (inline expansion available)
  Source file: SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

MPZ-MOD   compiled function

properties


ID: SB-GMP:MPZ-MOD
ALLOC: HEAP DYNAMIC



MPZ-MOD names a compiled function:
  Lambda-list: (A B)
  Derived type: (FUNCTION (INTEGER INTEGER) (VALUES INTEGER &OPTIONAL))
  Inline proclamation: MAYBE-INLINE (inline expansion available)
  Source file: SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

UNLOAD-GMP   compiled function

properties


ID: SB-GMP:UNLOAD-GMP
ALLOC: HEAP DYNAMIC



UNLOAD-GMP names a compiled function:
  Lambda-list: ()
  Derived type: (FUNCTION NIL (VALUES &OPTIONAL))
  Source file: SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

MAKE-GMP-RSTATE   compiled function

properties


ID: SB-GMP:MAKE-GMP-RSTATE
ALLOC: HEAP DYNAMIC



MAKE-GMP-RSTATE names a compiled function:
  Lambda-list: ()
  Derived type: (FUNCTION NIL (VALUES SB-GMP::GMP-RSTATE &OPTIONAL))
  Documentation:
    Instantiate a state for the GMP Mersenne-Twister random number generator.
  Inline proclamation: MAYBE-INLINE (inline expansion available)
  Source file: SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

MPZ-POWM   compiled function

properties


ID: SB-GMP:MPZ-POWM
ALLOC: HEAP DYNAMIC



MPZ-POWM names a compiled function:
  Lambda-list: (BASE EXP MOD)
  Derived type: (FUNCTION (INTEGER INTEGER INTEGER) (VALUES INTEGER &OPTIONAL))
  Inline proclamation: MAYBE-INLINE (inline expansion available)
  Source file: SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

MPZ-REMOVE   compiled function

properties


ID: SB-GMP:MPZ-REMOVE
ALLOC: HEAP DYNAMIC



MPZ-REMOVE names a compiled function:
  Lambda-list: (N F)
  Derived type: (FUNCTION (INTEGER INTEGER)
                 (VALUES (OR NULL INTEGER) (UNSIGNED-BYTE 64) &OPTIONAL))
  Inline proclamation: MAYBE-INLINE (inline expansion available)
  Source file: SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

MPZ-NEXTPRIME   compiled function

properties


ID: SB-GMP:MPZ-NEXTPRIME
ALLOC: HEAP DYNAMIC



MPZ-NEXTPRIME names a compiled function:
  Lambda-list: (A)
  Derived type: (FUNCTION (INTEGER) (VALUES (OR NULL INTEGER) &OPTIONAL))
  Inline proclamation: MAYBE-INLINE (inline expansion available)
  Source file: SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

UNINSTALL-GMP-FUNS   compiled function

properties


ID: SB-GMP:UNINSTALL-GMP-FUNS
ALLOC: HEAP DYNAMIC



UNINSTALL-GMP-FUNS names a compiled function:
  Lambda-list: ()
  Derived type: (FUNCTION NIL (VALUES &OPTIONAL))
  Source file: SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

  • Called by
    • SB-GMP:UNLOAD-GMP
    • SB-GMP:LOAD-GMP
definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

MPZ-PRIMORIAL   compiled function

properties


ID: SB-GMP:MPZ-PRIMORIAL
ALLOC: HEAP DYNAMIC



MPZ-PRIMORIAL names a compiled function:
  Lambda-list: (N)
  Derived type: (FUNCTION (T) (VALUES (OR NULL INTEGER) &OPTIONAL))
  Source file: SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

RANDOM-BITCOUNT   compiled function

properties


ID: SB-GMP:RANDOM-BITCOUNT
ALLOC: HEAP DYNAMIC



RANDOM-BITCOUNT names a compiled function:
  Lambda-list: (STATE BITCOUNT)
  Derived type: (FUNCTION (T T) (VALUES INTEGER &OPTIONAL))
  Documentation:
    Return a random integer in the range 0..(2^bitcount - 1).
  Inline proclamation: MAYBE-INLINE (inline expansion available)
  Source file: SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

MPZ-CDIV   compiled function

properties


ID: SB-GMP:MPZ-CDIV
ALLOC: HEAP DYNAMIC



MPZ-CDIV names a compiled function:
  Lambda-list: (N D)
  Derived type: (FUNCTION (INTEGER INTEGER) (VALUES INTEGER INTEGER &OPTIONAL))
  Inline proclamation: MAYBE-INLINE (inline expansion available)
  Source file: SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

*GMP-VERSION​*   var

properties


ID: SB-GMP:*GMP-VERSION*
ALLOC: HEAP IMMOBILE



*GMP-VERSION* names a special variable:
  Value: "6.3.0"

  • Set by
    • SB-GMP:LOAD-GMP
  • Referenced by
    • SB-GMP:LOAD-GMP
definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

MPZ-MFAC   compiled function

properties


ID: SB-GMP:MPZ-MFAC
ALLOC: HEAP DYNAMIC



MPZ-MFAC names a compiled function:
  Lambda-list: (N M)
  Derived type: (FUNCTION (T T) (VALUES (OR NULL INTEGER) &OPTIONAL))
  Source file: SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

MPZ-MUL-2EXP   compiled function

properties


ID: SB-GMP:MPZ-MUL-2EXP
ALLOC: HEAP DYNAMIC



MPZ-MUL-2EXP names a compiled function:
  Lambda-list: (A B)
  Derived type: (FUNCTION (INTEGER T) (VALUES INTEGER &OPTIONAL))
  Inline proclamation: MAYBE-INLINE (inline expansion available)
  Source file: SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

  • Called by
    • SB-GMP::GMP-INTEXP
definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

MPZ-GCD   compiled function

properties


ID: SB-GMP:MPZ-GCD
ALLOC: HEAP DYNAMIC



MPZ-GCD names a compiled function:
  Lambda-list: (A B)
  Derived type: (FUNCTION (INTEGER INTEGER) (VALUES INTEGER &OPTIONAL))
  Inline proclamation: MAYBE-INLINE (inline expansion available)
  Source file: SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

MPZ-TDIV   compiled function

properties


ID: SB-GMP:MPZ-TDIV
ALLOC: HEAP DYNAMIC



MPZ-TDIV names a compiled function:
  Lambda-list: (N D)
  Derived type: (FUNCTION (INTEGER INTEGER) (VALUES INTEGER INTEGER &OPTIONAL))
  Inline proclamation: MAYBE-INLINE (inline expansion available)
  Source file: SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

MPZ-POW   compiled function

properties


ID: SB-GMP:MPZ-POW
ALLOC: HEAP DYNAMIC



MPZ-POW names a compiled function:
  Lambda-list: (BASE EXP)
  Derived type: (FUNCTION (INTEGER T) (VALUES (OR NULL INTEGER) &OPTIONAL))
  Inline proclamation: MAYBE-INLINE (inline expansion available)
  Source file: SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

  • Called by
    • SB-GMP::GMP-INTEXP
definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

*GMP-DISABLED​*   var

properties


ID: SB-GMP:*GMP-DISABLED*
ALLOC: HEAP IMMOBILE



*GMP-DISABLED* names a special variable:
  Value: NIL

  • Referenced by
    • SB-GMP::GMP-INTEXP
definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

MPQ-DIV   compiled function

properties


ID: SB-GMP:MPQ-DIV
ALLOC: HEAP DYNAMIC



MPQ-DIV names a compiled function:
  Lambda-list: (A B)
  Derived type: (FUNCTION (T T) (VALUES RATIONAL &OPTIONAL))
  Inline proclamation: MAYBE-INLINE (inline expansion available)
  Source file: SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

MPZ-FIB2   compiled function

properties


ID: SB-GMP:MPZ-FIB2
ALLOC: HEAP DYNAMIC



MPZ-FIB2 names a compiled function:
  Lambda-list: (N)
  Derived type: (FUNCTION (T)
                 (VALUES (OR NULL INTEGER) (OR NULL INTEGER) &OPTIONAL))
  Inline proclamation: MAYBE-INLINE (inline expansion available)
  Source file: SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

MPZ-FDIV   compiled function

properties


ID: SB-GMP:MPZ-FDIV
ALLOC: HEAP DYNAMIC



MPZ-FDIV names a compiled function:
  Lambda-list: (N D)
  Derived type: (FUNCTION (INTEGER INTEGER) (VALUES INTEGER INTEGER &OPTIONAL))
  Inline proclamation: MAYBE-INLINE (inline expansion available)
  Source file: SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST

definitions
  • SYS:CONTRIB;SB-GMP;GMP.LISP.NEWEST