12.4.3 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 it's argument is a PyFloatObject

PyObject * PyFloat_FromDouble(double)

double PyFloat_AsDouble(PyObject *)

double PyFloat_AS_DOUBLE(PyFloatObject *)



guido@CNRI.Reston.Va.US