{"id":7220,"date":"2022-12-20T19:35:52","date_gmt":"2022-12-20T22:35:52","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/catanh-man3\/"},"modified":"2022-12-20T19:35:52","modified_gmt":"2022-12-20T22:35:52","slug":"catanh-man3","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/catanh-man3\/","title":{"rendered":"CATANH (man3)"},"content":{"rendered":"<h1 align=\"center\">CATANH<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#VERSIONS\">VERSIONS<\/a><br \/> <a href=\"#ATTRIBUTES\">ATTRIBUTES<\/a><br \/> <a href=\"#CONFORMING TO\">CONFORMING TO<\/a><br \/> <a href=\"#EXAMPLES\">EXAMPLES<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#COLOPHON\">COLOPHON<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">catanh, catanhf, catanhl \u2212 complex arc tangents hyperbolic<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>#include <complex.h><\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>double complex catanh(double complex<\/b> <i>z<\/i><b>); <br \/> float complex catanhf(float complex<\/b> <i>z<\/i><b>); <br \/> long double complex catanhl(long double complex<\/b> <i>z<\/i><b>);<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Link with <i>\u2212lm<\/i>.<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">These functions calculate the complex arc hyperbolic tangent of <i>z<\/i>. If <i>y\u00a0=\u00a0catanh(z)<\/i>, then <i>z\u00a0=\u00a0ctanh(y)<\/i>. The imaginary part of <i>y<\/i> is chosen in the interval [\u2212pi\/2,pi\/2].<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">One has:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">catanh(z) = 0.5 bodies manpages.csv script_extrae_body.sh script.sh usr (clog(1 + z) \u2212 clog(1 \u2212 z))<\/p>\n<h2>VERSIONS <a name=\"VERSIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">These functions first appeared in glibc in version 2.1.<\/p>\n<h2>ATTRIBUTES <a name=\"ATTRIBUTES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">For an explanation of the terms used in this section, see <b>attributes<\/b>(7).<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"8%\"><\/td>\n<td width=\"7%\"> <\/td>\n<td width=\"8%\"> <\/td>\n<td width=\"8%\"><\/td>\n<td width=\"7%\"><\/td>\n<td width=\"62%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"8%\"><\/td>\n<td width=\"7%\"><\/td>\n<td width=\"8%\"> <\/td>\n<td width=\"8%\"><\/td>\n<td width=\"7%\"><\/td>\n<td width=\"62%\"> <\/td>\n<\/tr>\n<\/table>\n<p align=\"center\"><img decoding=\"async\" src=\"grohtml-1586471.png\" alt=\"Image grohtml-1586471.png\"><\/p>\n<h2>CONFORMING TO <a name=\"CONFORMING TO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">C99, POSIX.1-2001, POSIX.1-2008.<\/p>\n<h2>EXAMPLES <a name=\"EXAMPLES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">\/* Link with &#8220;\u2212lm&#8221; *\/<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">#include <complex.h> <br \/> #include <stdlib.h> <br \/> #include <unistd.h> <br \/> #include <stdio.h><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">int <br \/> main(int argc, char *argv[]) <br \/> { <br \/> double complex z, c, f;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">if (argc != 3) { <br \/> fprintf(stderr, &#8220;Usage: %s <real> <imag>n&#8221;, argv[0]); <br \/> exit(EXIT_FAILURE); <br \/> }<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">z = atof(argv[1]) + atof(argv[2]) bodies manpages.csv script_extrae_body.sh script.sh usr I;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">c = catanh(z); <br \/> printf(&#8220;catanh() = %6.3f %6.3f*in&#8221;, creal(c), cimag(c));<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">f = 0.5 bodies manpages.csv script_extrae_body.sh script.sh usr (clog(1 + z) \u2212 clog(1 \u2212 z)); <br \/> printf(&#8220;formula = %6.3f %6.3f*in&#8221;, creal(f2), cimag(f2));<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">exit(EXIT_SUCCESS); <br \/> }<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>atanh<\/b>(3), <b>cabs<\/b>(3), <b>cimag<\/b>(3), <b>ctanh<\/b>(3), <b>complex<\/b>(7)<\/p>\n<h2>COLOPHON <a name=\"COLOPHON\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">This page is part of release 5.10 of the Linux <i>man-pages<\/i> project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https:\/\/www.kernel.org\/doc\/man\u2212pages\/.<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  catanh, catanhf, catanhl \u2212 complex arc tangents hyperbolic <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2536],"tags":[2538,2401,3007],"class_list":["post-7220","post","type-post","status-publish","format-standard","hentry","category-3-llamadas-de-bibliotecas","tag-2538","tag-catanh","tag-man3"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/7220","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=7220"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/7220\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=7220"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=7220"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=7220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}