Floating Point Objects

PyFloatObject
This subtype of PyObject represents a Python floating point object.

PyTypeObject PyFloat_Type
This instance of PyTypeObject represents the Python floating point type.

int PyFloat_Check(PyObject *p)
Returns true if its argument is a PyFloatObject.

PyObject * PyFloat_FromDouble(double)

double PyFloat_AsDouble(PyObject *)

double PyFloat_AS_DOUBLE(PyFloatObject *)



guido@python.org