Home
last modified time | relevance | path

Searched refs:PyFloat_AS_DOUBLE (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython2/Modules/
Dcgensupport.c68 *p_arg = PyFloat_AS_DOUBLE((PyFloatObject *)v); in extractdouble()
89 *p_arg = (float) PyFloat_AS_DOUBLE((PyFloatObject *)v); in extractfloat()
Dmathmodule.c1094 double dx = PyFloat_AS_DOUBLE((PyFloatObject *)arg); in math_factorial()
D_json.c1970 double i = PyFloat_AS_DOUBLE(obj); in encoder_encode_float()
D_tkinter.c1138 return Tcl_NewDoubleObj(PyFloat_AS_DOUBLE(value)); in AsObj()
DcPickle.c1190 double x = PyFloat_AS_DOUBLE((PyFloatObject *)args); in save_float()
/external/python/cpython2/Include/
Dfloatobject.h56 #define PyFloat_AS_DOUBLE(op) (((PyFloatObject *)(op))->ob_fval) macro
/external/python/cpython2/Objects/
Dfloatobject.c267 return PyFloat_AS_DOUBLE((PyFloatObject*) op); in PyFloat_AsDouble()
289 val = PyFloat_AS_DOUBLE(fo); in PyFloat_AsDouble()
306 dbl = PyFloat_AS_DOUBLE(obj); \
378 char *buf = PyOS_double_to_string(PyFloat_AS_DOUBLE(v), in float_str_or_repr()
423 i = PyFloat_AS_DOUBLE(v); in float_richcompare()
429 j = PyFloat_AS_DOUBLE(w); in float_richcompare()
2288 PyFloat_AS_DOUBLE(p), 'r', in PyFloat_Fini()
Dcodeobject.c438 double d = PyFloat_AS_DOUBLE(op); in _PyCode_ConstantKey()
/external/python/cpython2/Doc/c-api/
Dfloat.rst62 .. c:function:: double PyFloat_AS_DOUBLE(PyObject *pyfloat)
/external/libxml2/python/
Dtypes.c606 ret = xmlXPathNewFloat((double) PyFloat_AS_DOUBLE(obj)); in libxml_xmlXPathObjectPtrConvert()
/external/python/cpython2/Doc/data/
Drefcounts.dat424 PyFloat_AS_DOUBLE:double:::
425 PyFloat_AS_DOUBLE:PyObject*:pyfloat:0:
/external/python/cpython2/Python/
Dbltinmodule.c2377 double f_result = PyFloat_AS_DOUBLE(result); in builtin_sum()
2390 f_result += PyFloat_AS_DOUBLE(item); in builtin_sum()
Dmarshal.c270 char *buf = PyOS_double_to_string(PyFloat_AS_DOUBLE(v), in w_object()
/external/python/cpython2/Misc/
DHISTORY13962 - The PyInt_AS_LONG() and PyFloat_AS_DOUBLE() macros now cast their