carta
catanhf(3)

catanhf3

Complex inverse trigonometric and hyperbolic functions

Part of cacos(3).

Usage

double complex

float complex

long double complex

double complex

float complex

long double complex

double complex

float complex

long double complex

double complex

float complex

long double complex

double complex

float complex

long double complex

double complex

float complex

long double complex

Library

Math Library (libm, -lm)

Overview

The cacos(), casin(), and catan() functions compute the principal value of the inverse cosine, sine, and tangent of the complex number z, respectively. The cacosh(), casinh(), and catanh() functions compute the principal value of the inverse hyperbolic cosine, sine, and tangent. The cacosf(), casinf(), catanf() cacoshf(), casinhf(), and catanhf() functions perform the same operations in float precision. The cacosl(), casinl(), catanl() cacoshl(), casinhl(), and catanhl() functions perform the same operations in long, double precision.

There is no universal convention for defining the principal values of these functions. The following table gives the branch cuts, and the corresponding ranges for the return values, adopted by the C language.

FunctionBranch Cut(s)Range
cacos(-, -1) ∪ (1,)[0,]
casin(-, -1) ∪ (1,)[-/2, /2]
catan(-*I, -I) ∪ (I, *I)[-/2, /2]
cacosh(-, 1)[-*I, *I]
casinh(-*I, -I) ∪ (I, *I)[-/2*I, /2*I]
catanh(-, -1) ∪ (1,)[-/2*I, /2*I]

History

  • FreeBSD 16.0-CURRENT (2026-10-27) to FreeBSD 13.3-RELEASE: the text shown here
  • FreeBSD 13.2-RELEASE to FreeBSD 13.0-RELEASE
  • FreeBSD 12.4-RELEASE
  • FreeBSD 12.3-RELEASE
  • FreeBSD 12.2-RELEASE
  • FreeBSD 12.1-RELEASE
  • FreeBSD 12.0-RELEASE
  • FreeBSD 11.4-RELEASE
  • FreeBSD 11.3-RELEASE
  • FreeBSD 11.2-RELEASE
  • FreeBSD 11.1-RELEASE
  • FreeBSD 11.0-RELEASE
  • FreeBSD 10.4-RELEASE
  • FreeBSD 10.3-RELEASE
  • FreeBSD 10.2-RELEASE
  • FreeBSD 10.1-RELEASE
  • FreeBSD 10.0-RELEASE

Standards

These functions conform to ISO/IEC 9899:1999 (“ISO C99”).

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.