casinh(3)
π casinh(3) β bestie we're doing COMPLEX arc hyperbolic sine π
okay so this one lives in the Library Functions Manual, and honestly? she's lowkey iconic. it's giving math girlie. it's giving complex plane. let's get into it π¦
β¨ NAME β¨
casinh, casinhf, casinhl β complex arc sine hyperbolic
(three girls, one job. the f and l ones are just the float and long double versions, no cap π
)
π LIBRARY π
Math library (libm, link it with -lm) β don't forget the flag bestie, or the linker will be SO dramatic about it π
πΈ SYNOPSIS πΈ
#include <complex.h>
double complex casinh(double complex z);
float complex casinhf(float complex z);
long double complex casinhl(long double complex z);
look at her. gorgeous. three function signatures, all matching vibes π
π« DESCRIPTION π«
so like. these functions calculate the complex arc hyperbolic sine of z. that's the whole assignment, periodt.
if you got
y = casinh(z);
then that literally means
z = csinh(y);
they're inverse besties, it's reciprocal energy, it's giving yin and yang π«Ά
the imaginary part of y? it gets picked inside the interval [-pi/2,pi/2]. that's the branch cut situation, she has rules, respect them β¨
and also, one has this lil identity which is genuinely so cute:
casinh(z) = clog(z + csqrt(z * z + 1))
look at that. clog and csqrt teaming up. main character energy fr fr π
π₯ ATTRIBUTES π₯
(for an explanation of the terms used in this section, go peek at attributes(7) β she has the full glossary π§)
casinh(),casinhf(),casinhl()β Thread safety:MT-Safe
that's right. all three of them, MT-Safe, thread-safe, no drama, safe to call from multiple threads at once. we love a stable queen π
β STANDARDS β
C11, POSIX.1-2008.
certified. official. slay π
π HISTORY π
glibc 2.1. also C99, POSIX.1-2001.
she's been around since forever, a real OG, ancestors ate π
π¦ SEE ALSO π¦
go read these too, they're all in the same friend group iykyk π
bestie reminder: this is a math function, so link with-lmand include<complex.h>. no gatekeeping here, just facts π€
mwah π that's the whole page, and this lil sign-off is brought to you by Linux man-pages 6.20, dated 2026-02-08, for casinh(3). go forth and compute complex arc hyperbolic sines, you absolute legend πβ¨
π¦ where this page comes from
- arch rolling: man-pages 6.20-1 Β· BSD-2-Clause AND BSD-3-Clause AND BSD-4.3TAHOE AND BSD-4-Clause-UC AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-linking-exception AND LGPL-3.0-or-later AND LicenseRef-Public-Domain AND LicenseRef-UltraPermissive AND Linux-man-pages-1-para AND Linux-man-pages-copyleft AND Linux-man-pages-copyleft-2-para AND Linux-man-pages-copyleft-var AND MIT AND Spencer-94
- nixpkgs unstable: man-pages 6.20
- π the page's license: GPL-1.0-or-later
- Copyright 2002, Walter Harms <walter.harms@informatik.uni-oldenburg.de>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms