Lines Matching refs:PyFloat_FromDouble
957 return PyFloat_FromDouble(r); in math_1a()
990 return math_1_to_whatever(arg, func, PyFloat_FromDouble, can_overflow); in math_1()
1029 return PyFloat_FromDouble(r); in math_2()
1375 sum = PyFloat_FromDouble(special_sum); in math_fsum()
1408 sum = PyFloat_FromDouble(hi); in math_fsum()
1840 return PyFloat_FromDouble(r); in math_ldexp_impl()
1917 return PyFloat_FromDouble(result); in loghelper()
2017 return PyFloat_FromDouble(x); in math_fmod_impl()
2031 return PyFloat_FromDouble(r); in math_fmod_impl()
2052 return PyFloat_FromDouble(fabs(x)); in math_hypot_impl()
2054 return PyFloat_FromDouble(fabs(y)); in math_hypot_impl()
2074 return PyFloat_FromDouble(r); in math_hypot_impl()
2162 return PyFloat_FromDouble(r); in math_pow_impl()
2182 return PyFloat_FromDouble(x * radToDeg); in math_degrees_impl()
2199 return PyFloat_FromDouble(x * degToRad); in math_radians_impl()
2399 PyModule_AddObject(m, "pi", PyFloat_FromDouble(Py_MATH_PI)); in PyInit_math()
2400 PyModule_AddObject(m, "e", PyFloat_FromDouble(Py_MATH_E)); in PyInit_math()
2401 PyModule_AddObject(m, "tau", PyFloat_FromDouble(Py_MATH_TAU)); /* 2pi */ in PyInit_math()
2402 PyModule_AddObject(m, "inf", PyFloat_FromDouble(m_inf())); in PyInit_math()
2404 PyModule_AddObject(m, "nan", PyFloat_FromDouble(m_nan())); in PyInit_math()