NAME ^

pmc/pylong.pmc - Python BigInt PMC class

DESCRIPTION ^

PyLong provides arbitrary precision integer mathematic functions.

Functions ^

static void bigint_set_long(Interp*, PMC*, long value)

static void bigint_set_double(Interp*, PMC*, double value)

PMC* "__hex__"(PMC *self)

Returns the hex representation of self.

PMC* "__new__"(PMC *class, PMC *value, PMC *base)

Create a new long.

PMC *get_class()

Return the class of this object.

INTVAL is_equal (PMC *value)

The == operation.

void morph(INTVAL type)

Morphs the scalar to the specified type.

INTVAL hash(size_t seed)

Returns a unique hash for this value


parrot