/external/python/cpython3/Modules/clinic/ |
D | mathmodule.c.h | 97 x = PyFloat_AS_DOUBLE(arg); in math_frexp() 137 x = PyFloat_AS_DOUBLE(args[0]); in math_ldexp() 174 x = PyFloat_AS_DOUBLE(arg); in math_modf() 233 x = PyFloat_AS_DOUBLE(args[0]); in math_fma() 243 y = PyFloat_AS_DOUBLE(args[1]); in math_fma() 253 z = PyFloat_AS_DOUBLE(args[2]); in math_fma() 293 x = PyFloat_AS_DOUBLE(args[0]); in math_fmod() 303 y = PyFloat_AS_DOUBLE(args[1]); in math_fmod() 414 x = PyFloat_AS_DOUBLE(args[0]); in math_pow() 424 y = PyFloat_AS_DOUBLE(args[1]); in math_pow() [all …]
|
D | cmathmodule.c.h | 761 r = PyFloat_AS_DOUBLE(args[0]); in cmath_rect() 771 phi = PyFloat_AS_DOUBLE(args[1]); in cmath_rect() 952 rel_tol = PyFloat_AS_DOUBLE(args[2]); in cmath_isclose() 966 abs_tol = PyFloat_AS_DOUBLE(args[3]); in cmath_isclose()
|
D | _testclinic.c.h | 1050 a = (float) (PyFloat_AS_DOUBLE(args[0])); in float_converter() 1090 a = PyFloat_AS_DOUBLE(args[0]); in double_converter()
|
/external/python/cpython3/Include/cpython/ |
D | floatobject.h | 15 static inline double PyFloat_AS_DOUBLE(PyObject *op) { in PyFloat_AS_DOUBLE() function 18 #define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op)) macro
|
/external/pytorch/torch/csrc/utils/ |
D | python_numbers.h | 151 return PyFloat_AS_DOUBLE(obj); in THPUtils_unpackDouble() 171 return (bool)PyFloat_AS_DOUBLE(obj); in THPUtils_unpackNumberAsBool()
|
/external/python/cpython3/Python/ |
D | optimizer_bytecodes.c | 251 PyFloat_AS_DOUBLE(sym_get_const(left)) + in dummy_func() 252 PyFloat_AS_DOUBLE(sym_get_const(right))); in dummy_func() 274 PyFloat_AS_DOUBLE(sym_get_const(left)) - in dummy_func() 275 PyFloat_AS_DOUBLE(sym_get_const(right))); in dummy_func() 297 PyFloat_AS_DOUBLE(sym_get_const(left)) * in dummy_func() 298 PyFloat_AS_DOUBLE(sym_get_const(right))); in dummy_func()
|
D | optimizer_cases.c.h | 395 PyFloat_AS_DOUBLE(sym_get_const(left)) * 396 PyFloat_AS_DOUBLE(sym_get_const(right))); 426 PyFloat_AS_DOUBLE(sym_get_const(left)) + 427 PyFloat_AS_DOUBLE(sym_get_const(right))); 457 PyFloat_AS_DOUBLE(sym_get_const(left)) - 458 PyFloat_AS_DOUBLE(sym_get_const(right)));
|
D | marshal.c | 423 w_float_bin(PyFloat_AS_DOUBLE(v), p); in w_complex_object() 427 w_float_str(PyFloat_AS_DOUBLE(v), p); in w_complex_object()
|
D | ast_unparse.c | 75 if ((PyFloat_CheckExact(obj) && Py_IS_INFINITY(PyFloat_AS_DOUBLE(obj))) || in append_repr()
|
D | bltinmodule.c | 2631 double f_result = PyFloat_AS_DOUBLE(result); in builtin_sum_impl() 2654 double x = PyFloat_AS_DOUBLE(item); in builtin_sum_impl()
|
D | executor_cases.c.h | 2292 double dleft = PyFloat_AS_DOUBLE(left); 2293 double dright = PyFloat_AS_DOUBLE(right);
|
/external/python/cpython3/Objects/ |
D | floatobject.c | 295 return PyFloat_AS_DOUBLE(op); in PyFloat_AsDouble() 336 val = PyFloat_AS_DOUBLE(res); in PyFloat_AsDouble() 349 dbl = PyFloat_AS_DOUBLE(obj); \ 380 buf = PyOS_double_to_string(PyFloat_AS_DOUBLE(v), in float_repr() 413 i = PyFloat_AS_DOUBLE(v); in float_richcompare() 419 j = PyFloat_AS_DOUBLE(w); in float_richcompare() 910 return PyLong_FromDouble(PyFloat_AS_DOUBLE(self)); in float___trunc___impl() 923 double x = PyFloat_AS_DOUBLE(self); in float___floor___impl() 937 double x = PyFloat_AS_DOUBLE(self); in float___ceil___impl()
|
D | codeobject.c | 2414 double d = PyFloat_AS_DOUBLE(op); in _PyCode_ConstantKey() 2605 double f1 = PyFloat_AS_DOUBLE(op1); in compare_constants() 2606 double f2 = PyFloat_AS_DOUBLE(op2); in compare_constants()
|
D | abstract.c | 1669 double val = PyFloat_AS_DOUBLE(res); in PyNumber_Float() 1689 return PyFloat_FromDouble(PyFloat_AS_DOUBLE(o)); in PyNumber_Float()
|
D | listobject.c | 2803 res = PyFloat_AS_DOUBLE(v) < PyFloat_AS_DOUBLE(w); in unsafe_float_compare()
|
/external/python/cpython3/Modules/_testcapi/clinic/ |
D | float.c.h | 35 d = PyFloat_AS_DOUBLE(args[1]); in _testcapi_float_pack()
|
/external/python/cpython3/Modules/ |
D | mathmodule.c | 219 target_var = PyFloat_AS_DOUBLE(obj); \ 1135 x = PyFloat_AS_DOUBLE(number); in math_ceil() 1204 x = PyFloat_AS_DOUBLE(number); in math_floor() 2872 flt_p = PyFloat_AS_DOUBLE(p_i); in math_sumprod_impl() 2873 flt_q = PyFloat_AS_DOUBLE(q_i); in math_sumprod_impl() 2879 flt_p = PyFloat_AS_DOUBLE(p_i); in math_sumprod_impl() 2886 flt_q = PyFloat_AS_DOUBLE(q_i); in math_sumprod_impl() 3342 double f_result = PyFloat_AS_DOUBLE(result); in math_prod_impl() 3354 f_result *= PyFloat_AS_DOUBLE(item); in math_prod_impl()
|
D | _json.c | 1328 double i = PyFloat_AS_DOUBLE(obj); in encoder_encode_float()
|
/external/python/cpython3/Doc/c-api/ |
D | float.rst | 58 .. c:function:: double PyFloat_AS_DOUBLE(PyObject *pyfloat)
|
/external/libxml2/python/ |
D | types.c | 578 ret = xmlXPathNewFloat((double) PyFloat_AS_DOUBLE(obj)); in libxml_xmlXPathObjectPtrConvert()
|
/external/python/cpython3/Modules/_sqlite/clinic/ |
D | connection.c.h | 94 timeout = PyFloat_AS_DOUBLE(fastargs[1]); in pysqlite_connection_init() 1369 sleep = PyFloat_AS_DOUBLE(args[4]); in pysqlite_connection_backup()
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | py_seq_tensor.cc | 462 const double as_double = PyFloat_AS_DOUBLE(v); in ConvertOneFloat()
|
/external/python/cpython3/Python/clinic/ |
D | sysmodule.c.h | 440 interval = PyFloat_AS_DOUBLE(arg); in sys_setswitchinterval()
|
/external/tensorflow/tensorflow/python/eager/ |
D | pywrap_tensor.cc | 402 if (!PyFloat_Check(value) || std::isfinite(PyFloat_AS_DOUBLE(value))) { in ConvertToEagerTensor()
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 906 PyFloat_AS_DOUBLE:double::: 907 PyFloat_AS_DOUBLE:PyObject*:pyfloat:0:
|