| parrotcode: BigInt PMC class | |
| Contents | PMCs |

classes/bigint.pmc - BigInt PMC class

BigInt provides arbitray precision integer mathematic functions.

static void bigint_set_long(Interp*, PMC*, long value)static void bigint_set_double(Interp*, PMC*, double value)
PMC *instantiate()void set_integer_native(INTVAL value)void set_number_native(FLOATVAL value)value.void set_string_native(STRING *value)*value to a number.void set_string_keyed_int(INTVAL base, STRING *value)base.void set_pmc(PMC *value)*value.FLOATVAL get_number()INTVAL get_integer()BIGNUM *get_bignum()INTVAL get_bool()STRING *get_string()STRING *get_string_keyed_int(INTVAL base)base.STRING *get_repr()void increment()void decrement()void absolute()dest to the absolute value of SELF.void neg(PMC *dest)dest to the negated value of SELF.
|
|
|