Home
last modified time | relevance | path

Searched refs:PyFloat_AS_DOUBLE (Results 1 - 20 of 20) sorted by relevance

/third_party/python/Modules/clinic/
H A Dmathmodule.c.h91 x = PyFloat_AS_DOUBLE(arg); in math_frexp()
131 x = PyFloat_AS_DOUBLE(args[0]); in math_ldexp()
168 x = PyFloat_AS_DOUBLE(arg); in math_modf()
269 x = PyFloat_AS_DOUBLE(args[0]); in math_fmod()
279 y = PyFloat_AS_DOUBLE(args[1]); in math_fmod()
353 x = PyFloat_AS_DOUBLE(args[0]); in math_pow()
363 y = PyFloat_AS_DOUBLE(args[1]); in math_pow()
397 x = PyFloat_AS_DOUBLE(arg); in math_degrees()
431 x = PyFloat_AS_DOUBLE(arg); in math_radians()
465 x = PyFloat_AS_DOUBLE(ar in math_isfinite()
[all...]
H A D_statisticsmodule.c.h30 p = PyFloat_AS_DOUBLE(args[0]); in _statistics__normal_dist_inv_cdf()
40 mu = PyFloat_AS_DOUBLE(args[1]); in _statistics__normal_dist_inv_cdf()
50 sigma = PyFloat_AS_DOUBLE(args[2]); in _statistics__normal_dist_inv_cdf()
H A Dcmathmodule.c.h755 r = PyFloat_AS_DOUBLE(args[0]); in cmath_rect()
765 phi = PyFloat_AS_DOUBLE(args[1]); in cmath_rect()
923 rel_tol = PyFloat_AS_DOUBLE(args[2]); in cmath_isclose()
937 abs_tol = PyFloat_AS_DOUBLE(args[3]); in cmath_isclose()
H A Daudioop.c.h564 factor = PyFloat_AS_DOUBLE(args[2]); in audioop_mul()
621 lfactor = PyFloat_AS_DOUBLE(args[2]); in audioop_tomono()
631 rfactor = PyFloat_AS_DOUBLE(args[3]); in audioop_tomono()
688 lfactor = PyFloat_AS_DOUBLE(args[2]); in audioop_tostereo()
698 rfactor = PyFloat_AS_DOUBLE(args[3]); in audioop_tostereo()
H A D_ssl.c.h1045 entropy = PyFloat_AS_DOUBLE(args[1]); in _ssl_RAND_add()
/third_party/python/Include/cpython/
H A Dfloatobject.h12 #define PyFloat_AS_DOUBLE(op) (((PyFloatObject *)(op))->ob_fval) macro
/third_party/python/Objects/
H A Dfloatobject.c301 return PyFloat_AS_DOUBLE(op); in PyFloat_AsDouble()
342 val = PyFloat_AS_DOUBLE(res); in PyFloat_AsDouble()
355 dbl = PyFloat_AS_DOUBLE(obj); \
387 buf = PyOS_double_to_string(PyFloat_AS_DOUBLE(v), in float_repr()
420 i = PyFloat_AS_DOUBLE(v); in float_richcompare()
426 j = PyFloat_AS_DOUBLE(w); in float_richcompare()
921 return PyLong_FromDouble(PyFloat_AS_DOUBLE(self)); in float___trunc___impl()
934 double x = PyFloat_AS_DOUBLE(self); in float___floor___impl()
948 double x = PyFloat_AS_DOUBLE(self); in float___ceil___impl()
H A Dlistobject.c2197 res = PyFloat_AS_DOUBLE(v) < PyFloat_AS_DOUBLE(w); in unsafe_float_compare()
H A Dabstract.c1668 double val = PyFloat_AS_DOUBLE(res); in PyNumber_Float()
1688 return PyFloat_FromDouble(PyFloat_AS_DOUBLE(o)); in PyNumber_Float()
H A Dcodeobject.c2093 double d = PyFloat_AS_DOUBLE(op); in _PyCode_ConstantKey()
/third_party/python/Modules/_sqlite/clinic/
H A Dconnection.c.h41 timeout = PyFloat_AS_DOUBLE(fastargs[1]); in pysqlite_connection_init()
873 sleep = PyFloat_AS_DOUBLE(args[4]); in pysqlite_connection_backup()
/third_party/python/Modules/
H A Dmathmodule.c100 target_var = PyFloat_AS_DOUBLE(obj); \
1289 x = PyFloat_AS_DOUBLE(number); in math_floor()
3191 double f_result = PyFloat_AS_DOUBLE(result); in math_prod_impl()
3204 f_result *= PyFloat_AS_DOUBLE(item); in math_prod_impl()
H A D_json.c1349 double i = PyFloat_AS_DOUBLE(obj); in encoder_encode_float()
H A D_tkinter.c974 return Tcl_NewDoubleObj(PyFloat_AS_DOUBLE(value)); in AsObj()
H A D_pickle.c2242 double x = PyFloat_AS_DOUBLE((PyFloatObject *)obj); in save_float()
/third_party/python/Python/clinic/
H A Dsysmodule.c.h332 interval = PyFloat_AS_DOUBLE(arg); in sys_setswitchinterval()
/third_party/python/Python/
H A Dast_unparse.c78 if ((PyFloat_CheckExact(obj) && Py_IS_INFINITY(PyFloat_AS_DOUBLE(obj))) || in append_repr()
H A Dbltinmodule.c2547 double f_result = PyFloat_AS_DOUBLE(result); in builtin_sum_impl()
2559 f_result += PyFloat_AS_DOUBLE(item); in builtin_sum_impl()
H A Dmarshal.c408 w_float_bin(PyFloat_AS_DOUBLE(v), p); in w_complex_object()
412 w_float_str(PyFloat_AS_DOUBLE(v), p); in w_complex_object()
H A Dceval.c3743 double dleft = PyFloat_AS_DOUBLE(left);
3744 double dright = PyFloat_AS_DOUBLE(right);

Completed in 71 milliseconds