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 -lm and 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
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms