Home
last modified time | relevance | path

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

123

/external/python/cpython3/Modules/clinic/
Dmathmodule.c.h95 x = PyFloat_AsDouble(arg); in math_frexp()
135 x = PyFloat_AsDouble(args[0]); in math_ldexp()
172 x = PyFloat_AsDouble(arg); in math_modf()
273 x = PyFloat_AsDouble(args[0]); in math_fmod()
283 y = PyFloat_AsDouble(args[1]); in math_fmod()
357 x = PyFloat_AsDouble(args[0]); in math_pow()
367 y = PyFloat_AsDouble(args[1]); in math_pow()
401 x = PyFloat_AsDouble(arg); in math_degrees()
435 x = PyFloat_AsDouble(arg); in math_radians()
469 x = PyFloat_AsDouble(arg); in math_isfinite()
[all …]
D_statisticsmodule.c.h34 p = PyFloat_AsDouble(args[0]); in _statistics__normal_dist_inv_cdf()
44 mu = PyFloat_AsDouble(args[1]); in _statistics__normal_dist_inv_cdf()
54 sigma = PyFloat_AsDouble(args[2]); in _statistics__normal_dist_inv_cdf()
Dcmathmodule.c.h759 r = PyFloat_AsDouble(args[0]); in cmath_rect()
769 phi = PyFloat_AsDouble(args[1]); in cmath_rect()
927 rel_tol = PyFloat_AsDouble(args[2]); in cmath_isclose()
941 abs_tol = PyFloat_AsDouble(args[3]); in cmath_isclose()
Daudioop.c.h623 factor = PyFloat_AsDouble(args[2]); in audioop_mul()
685 lfactor = PyFloat_AsDouble(args[2]); in audioop_tomono()
695 rfactor = PyFloat_AsDouble(args[3]); in audioop_tomono()
757 lfactor = PyFloat_AsDouble(args[2]); in audioop_tostereo()
767 rfactor = PyFloat_AsDouble(args[3]); in audioop_tostereo()
/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.c268 return PyFloat_AsDouble(op); in PyComplex_RealAsDouble()
348 cv.real = PyFloat_AsDouble(op); in PyComplex_AsCComplex()
453 pc->real = PyFloat_AsDouble(obj); in to_complex()
646 equal = (i.real == PyFloat_AsDouble(w) && i.imag == 0.0); in complex_richcompare()
1016 cr.real = PyFloat_AsDouble(tmp); in complex_new_impl()
1033 ci.real = PyFloat_AsDouble(tmp); in complex_new_impl()
/external/python/cpython3/Python/
Dstructmember.c232 double double_val = PyFloat_AsDouble(v); in PyMember_SetOne()
239 *(double*)addr = PyFloat_AsDouble(v); in PyMember_SetOne()
Dpytime.c177 double d = PyFloat_AsDouble(obj); in _PyTime_ObjectToDenominator()
204 d = PyFloat_AsDouble(obj); in _PyTime_ObjectToTime_t()
412 d = PyFloat_AsDouble(obj); in _PyTime_FromObject()
/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/cffi/cffi/
D_cffi_include.h110 #define _cffi_to_c_double PyFloat_AsDouble
111 #define _cffi_to_c_float PyFloat_AsDouble
/external/python/cpython3/Include/
Dfloatobject.h49 PyAPI_FUNC(double) PyFloat_AsDouble(PyObject *);
/external/python/cpython2/Include/
Dfloatobject.h55 PyAPI_FUNC(double) PyFloat_AsDouble(PyObject *);
/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/cpython3/Modules/
D_struct.c305 double x = PyFloat_AsDouble(v); in pack_halffloat()
728 float x = (float)PyFloat_AsDouble(v); in np_float()
741 double x = PyFloat_AsDouble(v); in np_double()
960 double x = PyFloat_AsDouble(v); in bp_float()
972 double x = PyFloat_AsDouble(v); in bp_double()
1175 double x = PyFloat_AsDouble(v); in lp_float()
1187 double x = PyFloat_AsDouble(v); in lp_double()
Dmathmodule.c97 target_var = PyFloat_AsDouble(obj); \
1024 x = PyFloat_AsDouble(arg); in math_1_to_whatever()
1058 x = PyFloat_AsDouble(arg); in math_1a()
1108 x = PyFloat_AsDouble(args[0]); in math_2()
1112 y = PyFloat_AsDouble(args[1]); in math_2()
1207 double x = PyFloat_AsDouble(number); in math_ceil()
1275 x = PyFloat_AsDouble(number); in math_floor()
/external/python/cpython3/Doc/c-api/
Dfloat.rst45 .. c:function:: double PyFloat_AsDouble(PyObject *pyfloat)
/external/python/cpython2/Modules/_multiprocessing/
Dsemaphore.c79 timeout = PyFloat_AsDouble(timeout_obj); in semlock_acquire()
296 timeout = PyFloat_AsDouble(timeout_obj); in semlock_acquire()
/external/python/cpython3/Modules/_ctypes/
Dcfield.c988 x = PyFloat_AsDouble(value); in g_set()
1008 x = PyFloat_AsDouble(value); in d_set()
1028 x = PyFloat_AsDouble(value); in d_set_sw()
1056 x = (float)PyFloat_AsDouble(value); in f_set()
1076 x = (float)PyFloat_AsDouble(value); in f_set_sw()
/external/python/cpython3/Modules/_multiprocessing/
Dsemaphore.c82 timeout = PyFloat_AsDouble(timeout_obj); in semlock_acquire()
287 double 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/pybind11/include/pybind11/
Dchrono.h57 … value = type(duration_cast<duration<rep, period>>(duration<double>(PyFloat_AsDouble(src.ptr())))); in PYBIND11_NAMESPACE_BEGIN()
/external/python/cpython2/Doc/c-api/
Dfloat.rst53 .. c:function:: double PyFloat_AsDouble(PyObject *pyfloat)

123