• Home
  • Raw
  • Download

Lines Matching +full:- +full:z

12 "acos($module, z, /)\n"
13 "--\n"
15 "Return the arc cosine of z.");
21 cmath_acos_impl(PyObject *module, Py_complex z);
27 Py_complex z; in cmath_acos() local
30 z = PyComplex_AsCComplex(arg); in cmath_acos()
34 /* modifications for z */ in cmath_acos()
36 _return_value = cmath_acos_impl(module, z); in cmath_acos()
54 "acosh($module, z, /)\n"
55 "--\n"
57 "Return the inverse hyperbolic cosine of z.");
63 cmath_acosh_impl(PyObject *module, Py_complex z);
69 Py_complex z; in cmath_acosh() local
72 z = PyComplex_AsCComplex(arg); in cmath_acosh()
76 /* modifications for z */ in cmath_acosh()
78 _return_value = cmath_acosh_impl(module, z); in cmath_acosh()
96 "asin($module, z, /)\n"
97 "--\n"
99 "Return the arc sine of z.");
105 cmath_asin_impl(PyObject *module, Py_complex z);
111 Py_complex z; in cmath_asin() local
114 z = PyComplex_AsCComplex(arg); in cmath_asin()
118 /* modifications for z */ in cmath_asin()
120 _return_value = cmath_asin_impl(module, z); in cmath_asin()
138 "asinh($module, z, /)\n"
139 "--\n"
141 "Return the inverse hyperbolic sine of z.");
147 cmath_asinh_impl(PyObject *module, Py_complex z);
153 Py_complex z; in cmath_asinh() local
156 z = PyComplex_AsCComplex(arg); in cmath_asinh()
160 /* modifications for z */ in cmath_asinh()
162 _return_value = cmath_asinh_impl(module, z); in cmath_asinh()
180 "atan($module, z, /)\n"
181 "--\n"
183 "Return the arc tangent of z.");
189 cmath_atan_impl(PyObject *module, Py_complex z);
195 Py_complex z; in cmath_atan() local
198 z = PyComplex_AsCComplex(arg); in cmath_atan()
202 /* modifications for z */ in cmath_atan()
204 _return_value = cmath_atan_impl(module, z); in cmath_atan()
222 "atanh($module, z, /)\n"
223 "--\n"
225 "Return the inverse hyperbolic tangent of z.");
231 cmath_atanh_impl(PyObject *module, Py_complex z);
237 Py_complex z; in cmath_atanh() local
240 z = PyComplex_AsCComplex(arg); in cmath_atanh()
244 /* modifications for z */ in cmath_atanh()
246 _return_value = cmath_atanh_impl(module, z); in cmath_atanh()
264 "cos($module, z, /)\n"
265 "--\n"
267 "Return the cosine of z.");
273 cmath_cos_impl(PyObject *module, Py_complex z);
279 Py_complex z; in cmath_cos() local
282 z = PyComplex_AsCComplex(arg); in cmath_cos()
286 /* modifications for z */ in cmath_cos()
288 _return_value = cmath_cos_impl(module, z); in cmath_cos()
306 "cosh($module, z, /)\n"
307 "--\n"
309 "Return the hyperbolic cosine of z.");
315 cmath_cosh_impl(PyObject *module, Py_complex z);
321 Py_complex z; in cmath_cosh() local
324 z = PyComplex_AsCComplex(arg); in cmath_cosh()
328 /* modifications for z */ in cmath_cosh()
330 _return_value = cmath_cosh_impl(module, z); in cmath_cosh()
348 "exp($module, z, /)\n"
349 "--\n"
351 "Return the exponential value e**z.");
357 cmath_exp_impl(PyObject *module, Py_complex z);
363 Py_complex z; in cmath_exp() local
366 z = PyComplex_AsCComplex(arg); in cmath_exp()
370 /* modifications for z */ in cmath_exp()
372 _return_value = cmath_exp_impl(module, z); in cmath_exp()
390 "log10($module, z, /)\n"
391 "--\n"
393 "Return the base-10 logarithm of z.");
399 cmath_log10_impl(PyObject *module, Py_complex z);
405 Py_complex z; in cmath_log10() local
408 z = PyComplex_AsCComplex(arg); in cmath_log10()
412 /* modifications for z */ in cmath_log10()
414 _return_value = cmath_log10_impl(module, z); in cmath_log10()
432 "sin($module, z, /)\n"
433 "--\n"
435 "Return the sine of z.");
441 cmath_sin_impl(PyObject *module, Py_complex z);
447 Py_complex z; in cmath_sin() local
450 z = PyComplex_AsCComplex(arg); in cmath_sin()
454 /* modifications for z */ in cmath_sin()
456 _return_value = cmath_sin_impl(module, z); in cmath_sin()
474 "sinh($module, z, /)\n"
475 "--\n"
477 "Return the hyperbolic sine of z.");
483 cmath_sinh_impl(PyObject *module, Py_complex z);
489 Py_complex z; in cmath_sinh() local
492 z = PyComplex_AsCComplex(arg); in cmath_sinh()
496 /* modifications for z */ in cmath_sinh()
498 _return_value = cmath_sinh_impl(module, z); in cmath_sinh()
516 "sqrt($module, z, /)\n"
517 "--\n"
519 "Return the square root of z.");
525 cmath_sqrt_impl(PyObject *module, Py_complex z);
531 Py_complex z; in cmath_sqrt() local
534 z = PyComplex_AsCComplex(arg); in cmath_sqrt()
538 /* modifications for z */ in cmath_sqrt()
540 _return_value = cmath_sqrt_impl(module, z); in cmath_sqrt()
558 "tan($module, z, /)\n"
559 "--\n"
561 "Return the tangent of z.");
567 cmath_tan_impl(PyObject *module, Py_complex z);
573 Py_complex z; in cmath_tan() local
576 z = PyComplex_AsCComplex(arg); in cmath_tan()
580 /* modifications for z */ in cmath_tan()
582 _return_value = cmath_tan_impl(module, z); in cmath_tan()
600 "tanh($module, z, /)\n"
601 "--\n"
603 "Return the hyperbolic tangent of z.");
609 cmath_tanh_impl(PyObject *module, Py_complex z);
615 Py_complex z; in cmath_tanh() local
618 z = PyComplex_AsCComplex(arg); in cmath_tanh()
622 /* modifications for z */ in cmath_tanh()
624 _return_value = cmath_tanh_impl(module, z); in cmath_tanh()
642 "log($module, z, base=<unrepresentable>, /)\n"
643 "--\n"
645 "log(z[, base]) -> the logarithm of z to the given base.\n"
647 "If the base is not specified, returns the natural logarithm (base e) of z.");
681 "phase($module, z, /)\n"
682 "--\n"
690 cmath_phase_impl(PyObject *module, Py_complex z);
696 Py_complex z; in cmath_phase() local
698 z = PyComplex_AsCComplex(arg); in cmath_phase()
702 return_value = cmath_phase_impl(module, z); in cmath_phase()
709 "polar($module, z, /)\n"
710 "--\n"
720 cmath_polar_impl(PyObject *module, Py_complex z);
726 Py_complex z; in cmath_polar() local
728 z = PyComplex_AsCComplex(arg); in cmath_polar()
732 return_value = cmath_polar_impl(module, z); in cmath_polar()
740 "--\n"
766 if (r == -1.0 && PyErr_Occurred()) { in cmath_rect()
776 if (phi == -1.0 && PyErr_Occurred()) { in cmath_rect()
787 "isfinite($module, z, /)\n"
788 "--\n"
790 "Return True if both the real and imaginary parts of z are finite, else False.");
796 cmath_isfinite_impl(PyObject *module, Py_complex z);
802 Py_complex z; in cmath_isfinite() local
804 z = PyComplex_AsCComplex(arg); in cmath_isfinite()
808 return_value = cmath_isfinite_impl(module, z); in cmath_isfinite()
815 "isnan($module, z, /)\n"
816 "--\n"
818 "Checks if the real or imaginary part of z not a number (NaN).");
824 cmath_isnan_impl(PyObject *module, Py_complex z);
830 Py_complex z; in cmath_isnan() local
832 z = PyComplex_AsCComplex(arg); in cmath_isnan()
836 return_value = cmath_isnan_impl(module, z); in cmath_isnan()
843 "isinf($module, z, /)\n"
844 "--\n"
846 "Checks if the real or imaginary part of z is infinite.");
852 cmath_isinf_impl(PyObject *module, Py_complex z);
858 Py_complex z; in cmath_isinf() local
860 z = PyComplex_AsCComplex(arg); in cmath_isinf()
864 return_value = cmath_isinf_impl(module, z); in cmath_isinf()
871 "isclose($module, /, a, b, *, rel_tol=1e-09, abs_tol=0.0)\n"
872 "--\n"
888 "-inf, inf and NaN behave similarly to the IEEE 754 Standard. That is, NaN is\n"
889 "not close to anything, even itself. inf and -inf are only close to themselves.");
928 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 2; in cmath_isclose()
931 double rel_tol = 1e-09; in cmath_isclose()
957 if (rel_tol == -1.0 && PyErr_Occurred()) { in cmath_isclose()
961 if (!--noptargs) { in cmath_isclose()
971 if (abs_tol == -1.0 && PyErr_Occurred()) { in cmath_isclose()
977 if ((_return_value == -1) && PyErr_Occurred()) { in cmath_isclose()