Home
last modified time | relevance | path

Searched refs:ob_fval (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Include/
Dfloatobject.h17 double ob_fval; member
51 #define PyFloat_AS_DOUBLE(op) (((PyFloatObject *)(op))->ob_fval)
/third_party/python/Objects/
Dfloatobject.c143 op->ob_fval = fval; in PyFloat_FromDouble()
559 return _Py_HashDouble((PyObject *)v, v->ob_fval); in float_hash()
832 return PyFloat_FromDouble(-v->ob_fval); in float_neg()
838 return PyFloat_FromDouble(fabs(v->ob_fval)); in float_abs()
844 return v->ob_fval != 0.0; in float_bool()
1094 v = PyFloat_FromDouble(((PyFloatObject *)v)->ob_fval); in float_float()
1656 ((PyFloatObject *)newobj)->ob_fval = ((PyFloatObject *)tmp)->ob_fval; in float_subtype_new()
1687 return Py_BuildValue("(d)", ((PyFloatObject *)self)->ob_fval); in float___getnewargs___impl()
/third_party/python/Doc/extending/
Dnewtypes_tutorial.rst85 double ob_fval;