Home
last modified time | relevance | path

Searched refs:PyFloat_AsDouble (Results 1 – 25 of 58) sorted by relevance

123

/external/python/cpython2/Modules/
Dmathmodule.c685 x = PyFloat_AsDouble(arg); in math_1()
718 x = PyFloat_AsDouble(arg); in math_1a()
764 x = PyFloat_AsDouble(ox); in math_2()
765 y = PyFloat_AsDouble(oy); in math_2()
987 x = PyFloat_AsDouble(item); in math_fsum()
1158 double x = PyFloat_AsDouble(arg); in math_frexp()
1240 double y, x = PyFloat_AsDouble(arg); in math_modf()
1360 x = PyFloat_AsDouble(ox); in math_fmod()
1361 y = PyFloat_AsDouble(oy); in math_fmod()
1394 x = PyFloat_AsDouble(ox); in math_hypot()
[all …]
D_struct.c652 float x = (float)PyFloat_AsDouble(v); in np_float()
665 double x = PyFloat_AsDouble(v); in np_double()
893 double x = PyFloat_AsDouble(v); in bp_float()
905 double x = PyFloat_AsDouble(v); in bp_double()
1115 double x = PyFloat_AsDouble(v); in lp_float()
1127 double x = PyFloat_AsDouble(v); in lp_double()
Dtimemodule.c308 double when = PyFloat_AsDouble(ot); in parse_time_double_args()
699 double dt = PyFloat_AsDouble(ot); in time_ctime()
/external/python/cpython3/Objects/
Dcomplexobject.c261 return PyFloat_AsDouble(op); in PyComplex_RealAsDouble()
341 cv.real = PyFloat_AsDouble(op); in PyComplex_AsCComplex()
452 pc->real = PyFloat_AsDouble(obj); in to_complex()
657 equal = (i.real == PyFloat_AsDouble(w) && i.imag == 0.0); in complex_richcompare()
1047 cr.real = PyFloat_AsDouble(tmp); in complex_new_impl()
1064 ci.real = PyFloat_AsDouble(tmp); in complex_new_impl()
Dfloatobject.c232 PyFloat_AsDouble(PyObject *op) in PyFloat_AsDouble() function
835 double x = PyFloat_AsDouble(self); in float_is_integer_impl()
859 double x = PyFloat_AsDouble(v);
868 double x = PyFloat_AsDouble(v);
877 double x = PyFloat_AsDouble(v);
894 double x = PyFloat_AsDouble(self); in float___trunc___impl()
1051 x = PyFloat_AsDouble(self); in float___round___impl()
/external/python/cpython2/Objects/
Dcomplexobject.c272 return PyFloat_AsDouble(op); in PyComplex_RealAsDouble()
356 cv.real = PyFloat_AsDouble(op); in PyComplex_AsCComplex()
510 pc->real = PyFloat_AsDouble(obj); in to_complex()
774 cval.real = PyFloat_AsDouble(*pw); in complex_coerce()
831 equal = (i.real == PyFloat_AsDouble(w) && i.imag == 0.0); in complex_richcompare()
1234 cr.real = PyFloat_AsDouble(tmp); in complex_new()
1251 ci.real = PyFloat_AsDouble(tmp); in complex_new()
Dfloatobject.c259 PyFloat_AsDouble(PyObject *op) in PyFloat_AsDouble() function
986 double x = PyFloat_AsDouble(v); in float_is_integer()
1010 double x = PyFloat_AsDouble(v);
1019 double x = PyFloat_AsDouble(v);
1028 double x = PyFloat_AsDouble(v);
1038 double x = PyFloat_AsDouble(v); in float_trunc()
1067 double x = PyFloat_AsDouble(v); in float_long()
/external/python/cpython3/Python/
Dstructmember.c233 double double_val = PyFloat_AsDouble(v); in PyMember_SetOne()
240 *(double*)addr = PyFloat_AsDouble(v); in PyMember_SetOne()
Dpytime.c171 double d = PyFloat_AsDouble(obj); in _PyTime_ObjectToDenominator()
198 d = PyFloat_AsDouble(obj); in _PyTime_ObjectToTime_t()
406 d = PyFloat_AsDouble(obj); in _PyTime_FromObject()
/external/python/cpython2/Python/
Dstructmember.c305 double double_val = PyFloat_AsDouble(v); in PyMember_SetOne()
312 *(double*)addr = PyFloat_AsDouble(v); in PyMember_SetOne()
/external/python/cpython2/Include/
Dfloatobject.h55 PyAPI_FUNC(double) PyFloat_AsDouble(PyObject *);
/external/python/cpython3/Include/
Dfloatobject.h49 PyAPI_FUNC(double) PyFloat_AsDouble(PyObject *);
/external/python/cpython3/Modules/
D_struct.c294 double x = PyFloat_AsDouble(v); in pack_halffloat()
717 float x = (float)PyFloat_AsDouble(v); in np_float()
730 double x = PyFloat_AsDouble(v); in np_double()
949 double x = PyFloat_AsDouble(v); in bp_float()
961 double x = PyFloat_AsDouble(v); in bp_double()
1164 double x = PyFloat_AsDouble(v); in lp_float()
1176 double x = PyFloat_AsDouble(v); in lp_double()
Dmathmodule.c912 x = PyFloat_AsDouble(arg); in math_1_to_whatever()
948 x = PyFloat_AsDouble(arg); in math_1a()
1006 x = PyFloat_AsDouble(ox); in math_2()
1007 y = PyFloat_AsDouble(oy); in math_2()
1326 x = PyFloat_AsDouble(item); in math_fsum()
/external/python/cpython3/Modules/_ctypes/
Dcfield.c991 x = PyFloat_AsDouble(value); in g_set()
1011 x = PyFloat_AsDouble(value); in d_set()
1031 x = PyFloat_AsDouble(value); in d_set_sw()
1059 x = (float)PyFloat_AsDouble(value); in f_set()
1079 x = (float)PyFloat_AsDouble(value); in f_set_sw()
/external/python/cpython2/Modules/_multiprocessing/
Dsemaphore.c79 timeout = PyFloat_AsDouble(timeout_obj); in semlock_acquire()
296 timeout = PyFloat_AsDouble(timeout_obj); in semlock_acquire()
Dconnection.h353 timeout = PyFloat_AsDouble(timeout_obj); in connection_poll()
/external/python/cpython3/Doc/c-api/
Dfloat.rst45 .. c:function:: double PyFloat_AsDouble(PyObject *pyfloat)
/external/python/cpython3/Modules/_multiprocessing/
Dsemaphore.c82 timeout = PyFloat_AsDouble(timeout_obj); in semlock_acquire()
289 timeout = PyFloat_AsDouble(timeout_obj); in semlock_acquire()
/external/python/cpython2/Modules/_ctypes/
Dcfield.c1011 x = PyFloat_AsDouble(value); in g_set()
1031 x = PyFloat_AsDouble(value); in d_set()
1051 x = PyFloat_AsDouble(value); in d_set_sw()
1079 x = (float)PyFloat_AsDouble(value); in f_set()
1099 x = (float)PyFloat_AsDouble(value); in f_set_sw()
/external/python/cpython2/Doc/c-api/
Dfloat.rst53 .. c:function:: double PyFloat_AsDouble(PyObject *pyfloat)
/external/python/cpython2/PC/os2vacpp/
Dpython.def180 PyFloat_AsDouble
/external/python/cpython3/Modules/_sqlite/
Dstatement.c154 rc = sqlite3_bind_double(self->st, pos, PyFloat_AsDouble(parameter)); in pysqlite_statement_bind_parameter()
/external/python/cpython2/Mac/Modules/cf/
Dpycfbridge.c267 double d = PyFloat_AsDouble(src); in PyCF_Python2CF_simple()
/external/python/cpython2/Modules/_sqlite/
Dstatement.c173 rc = sqlite3_bind_double(self->st, pos, PyFloat_AsDouble(parameter)); in pysqlite_statement_bind_parameter()

123