Lines Matching refs:PyFloat_FromDouble

1065     return PyFloat_FromDouble(r);  in math_1a()
1098 return math_1_to_whatever(arg, func, PyFloat_FromDouble, can_overflow); in math_1()
1133 return PyFloat_FromDouble(r); in math_2()
1493 sum = PyFloat_FromDouble(special_sum); in math_fsum()
1526 sum = PyFloat_FromDouble(hi); in math_fsum()
2243 return PyFloat_FromDouble(r); in math_ldexp_impl()
2318 return PyFloat_FromDouble(result); in loghelper()
2418 return PyFloat_FromDouble(x); in math_fmod_impl()
2430 return PyFloat_FromDouble(r); in math_fmod_impl()
2576 return PyFloat_FromDouble(result); in math_dist_impl()
2623 return PyFloat_FromDouble(result); in math_hypot()
2732 return PyFloat_FromDouble(r); in math_pow_impl()
2752 return PyFloat_FromDouble(x * radToDeg); in math_degrees_impl()
2769 return PyFloat_FromDouble(x * degToRad); in math_radians_impl()
3047 return PyFloat_FromDouble(f_result); in math_prod_impl()
3064 result = PyFloat_FromDouble(f_result); in math_prod_impl()
3392 return PyFloat_FromDouble(y); in math_nextafter_impl()
3395 return PyFloat_FromDouble(nextafter(x, y)); in math_nextafter_impl()
3432 if (PyModule_AddObject(module, "pi", PyFloat_FromDouble(Py_MATH_PI)) < 0) { in math_exec()
3435 if (PyModule_AddObject(module, "e", PyFloat_FromDouble(Py_MATH_E)) < 0) { in math_exec()
3439 if (PyModule_AddObject(module, "tau", PyFloat_FromDouble(Py_MATH_TAU)) < 0) { in math_exec()
3442 if (PyModule_AddObject(module, "inf", PyFloat_FromDouble(m_inf())) < 0) { in math_exec()
3446 if (PyModule_AddObject(module, "nan", PyFloat_FromDouble(m_nan())) < 0) { in math_exec()