Lines Matching refs:PyFloat_FromDouble
707 return PyFloat_FromDouble(r); in math_1()
727 return PyFloat_FromDouble(r); in math_1a()
787 return PyFloat_FromDouble(r); in math_2()
1036 sum = PyFloat_FromDouble(special_sum); in math_fsum()
1069 sum = PyFloat_FromDouble(hi); in math_fsum()
1230 return PyFloat_FromDouble(r); in math_ldexp()
1305 return PyFloat_FromDouble(result); in loghelper()
1366 return PyFloat_FromDouble(x); in math_fmod()
1380 return PyFloat_FromDouble(r); in math_fmod()
1400 return PyFloat_FromDouble(fabs(x)); in math_hypot()
1402 return PyFloat_FromDouble(fabs(y)); in math_hypot()
1422 return PyFloat_FromDouble(r); in math_hypot()
1509 return PyFloat_FromDouble(r); in math_pow()
1524 return PyFloat_FromDouble(x * radToDeg); in math_degrees()
1537 return PyFloat_FromDouble(x * degToRad); in math_radians()
1628 PyModule_AddObject(m, "pi", PyFloat_FromDouble(Py_MATH_PI)); in initmath()
1629 PyModule_AddObject(m, "e", PyFloat_FromDouble(Py_MATH_E)); in initmath()