parrotcode: Python Floating-Point Number | |
Contents | Dynamic PMCs |
classes/pyfloat.pmc - Python Floating-Point Number
These are the vtable functions for the PyFloat base class
PMC* "__new__"(PMC *class, PMC *source)
INTVAL get_integer()
PMC *get_class()
STRING *get_repr()
STRING *get_string()
FLOATVAL get_number()
INTVAL hash(size_t seed)
void set_number_native(FLOATVAL value)
value
.void set_string_native(STRING *value)
*value
to a number.
|