Lines Matching +full:- +full:z
6 "acos($module, z, /)\n"
7 "--\n"
9 "Return the arc cosine of z.");
15 cmath_acos_impl(PyObject *module, Py_complex z);
21 Py_complex z; in cmath_acos() local
24 z = PyComplex_AsCComplex(arg); in cmath_acos()
28 /* modifications for z */ in cmath_acos()
30 _return_value = cmath_acos_impl(module, z); in cmath_acos()
48 "acosh($module, z, /)\n"
49 "--\n"
51 "Return the inverse hyperbolic cosine of z.");
57 cmath_acosh_impl(PyObject *module, Py_complex z);
63 Py_complex z; in cmath_acosh() local
66 z = PyComplex_AsCComplex(arg); in cmath_acosh()
70 /* modifications for z */ in cmath_acosh()
72 _return_value = cmath_acosh_impl(module, z); in cmath_acosh()
90 "asin($module, z, /)\n"
91 "--\n"
93 "Return the arc sine of z.");
99 cmath_asin_impl(PyObject *module, Py_complex z);
105 Py_complex z; in cmath_asin() local
108 z = PyComplex_AsCComplex(arg); in cmath_asin()
112 /* modifications for z */ in cmath_asin()
114 _return_value = cmath_asin_impl(module, z); in cmath_asin()
132 "asinh($module, z, /)\n"
133 "--\n"
135 "Return the inverse hyperbolic sine of z.");
141 cmath_asinh_impl(PyObject *module, Py_complex z);
147 Py_complex z; in cmath_asinh() local
150 z = PyComplex_AsCComplex(arg); in cmath_asinh()
154 /* modifications for z */ in cmath_asinh()
156 _return_value = cmath_asinh_impl(module, z); in cmath_asinh()
174 "atan($module, z, /)\n"
175 "--\n"
177 "Return the arc tangent of z.");
183 cmath_atan_impl(PyObject *module, Py_complex z);
189 Py_complex z; in cmath_atan() local
192 z = PyComplex_AsCComplex(arg); in cmath_atan()
196 /* modifications for z */ in cmath_atan()
198 _return_value = cmath_atan_impl(module, z); in cmath_atan()
216 "atanh($module, z, /)\n"
217 "--\n"
219 "Return the inverse hyperbolic tangent of z.");
225 cmath_atanh_impl(PyObject *module, Py_complex z);
231 Py_complex z; in cmath_atanh() local
234 z = PyComplex_AsCComplex(arg); in cmath_atanh()
238 /* modifications for z */ in cmath_atanh()
240 _return_value = cmath_atanh_impl(module, z); in cmath_atanh()
258 "cos($module, z, /)\n"
259 "--\n"
261 "Return the cosine of z.");
267 cmath_cos_impl(PyObject *module, Py_complex z);
273 Py_complex z; in cmath_cos() local
276 z = PyComplex_AsCComplex(arg); in cmath_cos()
280 /* modifications for z */ in cmath_cos()
282 _return_value = cmath_cos_impl(module, z); in cmath_cos()
300 "cosh($module, z, /)\n"
301 "--\n"
303 "Return the hyperbolic cosine of z.");
309 cmath_cosh_impl(PyObject *module, Py_complex z);
315 Py_complex z; in cmath_cosh() local
318 z = PyComplex_AsCComplex(arg); in cmath_cosh()
322 /* modifications for z */ in cmath_cosh()
324 _return_value = cmath_cosh_impl(module, z); in cmath_cosh()
342 "exp($module, z, /)\n"
343 "--\n"
345 "Return the exponential value e**z.");
351 cmath_exp_impl(PyObject *module, Py_complex z);
357 Py_complex z; in cmath_exp() local
360 z = PyComplex_AsCComplex(arg); in cmath_exp()
364 /* modifications for z */ in cmath_exp()
366 _return_value = cmath_exp_impl(module, z); in cmath_exp()
384 "log10($module, z, /)\n"
385 "--\n"
387 "Return the base-10 logarithm of z.");
393 cmath_log10_impl(PyObject *module, Py_complex z);
399 Py_complex z; in cmath_log10() local
402 z = PyComplex_AsCComplex(arg); in cmath_log10()
406 /* modifications for z */ in cmath_log10()
408 _return_value = cmath_log10_impl(module, z); in cmath_log10()
426 "sin($module, z, /)\n"
427 "--\n"
429 "Return the sine of z.");
435 cmath_sin_impl(PyObject *module, Py_complex z);
441 Py_complex z; in cmath_sin() local
444 z = PyComplex_AsCComplex(arg); in cmath_sin()
448 /* modifications for z */ in cmath_sin()
450 _return_value = cmath_sin_impl(module, z); in cmath_sin()
468 "sinh($module, z, /)\n"
469 "--\n"
471 "Return the hyperbolic sine of z.");
477 cmath_sinh_impl(PyObject *module, Py_complex z);
483 Py_complex z; in cmath_sinh() local
486 z = PyComplex_AsCComplex(arg); in cmath_sinh()
490 /* modifications for z */ in cmath_sinh()
492 _return_value = cmath_sinh_impl(module, z); in cmath_sinh()
510 "sqrt($module, z, /)\n"
511 "--\n"
513 "Return the square root of z.");
519 cmath_sqrt_impl(PyObject *module, Py_complex z);
525 Py_complex z; in cmath_sqrt() local
528 z = PyComplex_AsCComplex(arg); in cmath_sqrt()
532 /* modifications for z */ in cmath_sqrt()
534 _return_value = cmath_sqrt_impl(module, z); in cmath_sqrt()
552 "tan($module, z, /)\n"
553 "--\n"
555 "Return the tangent of z.");
561 cmath_tan_impl(PyObject *module, Py_complex z);
567 Py_complex z; in cmath_tan() local
570 z = PyComplex_AsCComplex(arg); in cmath_tan()
574 /* modifications for z */ in cmath_tan()
576 _return_value = cmath_tan_impl(module, z); in cmath_tan()
594 "tanh($module, z, /)\n"
595 "--\n"
597 "Return the hyperbolic tangent of z.");
603 cmath_tanh_impl(PyObject *module, Py_complex z);
609 Py_complex z; in cmath_tanh() local
612 z = PyComplex_AsCComplex(arg); in cmath_tanh()
616 /* modifications for z */ in cmath_tanh()
618 _return_value = cmath_tanh_impl(module, z); in cmath_tanh()
636 "log($module, z, base=<unrepresentable>, /)\n"
637 "--\n"
639 "log(z[, base]) -> the logarithm of z to the given base.\n"
641 "If the base not specified, returns the natural logarithm (base e) of z.");
675 "phase($module, z, /)\n"
676 "--\n"
684 cmath_phase_impl(PyObject *module, Py_complex z);
690 Py_complex z; in cmath_phase() local
692 z = PyComplex_AsCComplex(arg); in cmath_phase()
696 return_value = cmath_phase_impl(module, z); in cmath_phase()
703 "polar($module, z, /)\n"
704 "--\n"
714 cmath_polar_impl(PyObject *module, Py_complex z);
720 Py_complex z; in cmath_polar() local
722 z = PyComplex_AsCComplex(arg); in cmath_polar()
726 return_value = cmath_polar_impl(module, z); in cmath_polar()
734 "--\n"
760 if (r == -1.0 && PyErr_Occurred()) { in cmath_rect()
770 if (phi == -1.0 && PyErr_Occurred()) { in cmath_rect()
781 "isfinite($module, z, /)\n"
782 "--\n"
784 "Return True if both the real and imaginary parts of z are finite, else False.");
790 cmath_isfinite_impl(PyObject *module, Py_complex z);
796 Py_complex z; in cmath_isfinite() local
798 z = PyComplex_AsCComplex(arg); in cmath_isfinite()
802 return_value = cmath_isfinite_impl(module, z); in cmath_isfinite()
809 "isnan($module, z, /)\n"
810 "--\n"
812 "Checks if the real or imaginary part of z not a number (NaN).");
818 cmath_isnan_impl(PyObject *module, Py_complex z);
824 Py_complex z; in cmath_isnan() local
826 z = PyComplex_AsCComplex(arg); in cmath_isnan()
830 return_value = cmath_isnan_impl(module, z); in cmath_isnan()
837 "isinf($module, z, /)\n"
838 "--\n"
840 "Checks if the real or imaginary part of z is infinite.");
846 cmath_isinf_impl(PyObject *module, Py_complex z);
852 Py_complex z; in cmath_isinf() local
854 z = PyComplex_AsCComplex(arg); in cmath_isinf()
858 return_value = cmath_isinf_impl(module, z); in cmath_isinf()
865 "isclose($module, /, a, b, *, rel_tol=1e-09, abs_tol=0.0)\n"
866 "--\n"
882 "-inf, inf and NaN behave similarly to the IEEE 754 Standard. That is, NaN is\n"
883 "not close to anything, even itself. inf and -inf are only close to themselves.");
899 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 2; in cmath_isclose()
902 double rel_tol = 1e-09; in cmath_isclose()
928 if (rel_tol == -1.0 && PyErr_Occurred()) { in cmath_isclose()
932 if (!--noptargs) { in cmath_isclose()
942 if (abs_tol == -1.0 && PyErr_Occurred()) { in cmath_isclose()
948 if ((_return_value == -1) && PyErr_Occurred()) { in cmath_isclose()