asinh(3)
β¨ asinh β bestie, we're going INVERSE β¨
okay so the manual name here is asinh(3) and the whole vibe is inverse hyperbolic sine π it's a math library situation, libm, and yes you link it with -lm like always, you know the drill π«Ά
πΈ NAME πΈ
asinh, asinhf, asinhl β the inverse hyperbolic sine function, in three delicious flavors: double, float, and long double π
π LIBRARY π
Math library (libm, -lm) β gotta bring the -lm to the party or nothing works, fr fr.
π SYNOPSIS π
#include <math.h>
double asinh(double x);
float asinhf(float x);
long double asinhl(long double x);
β¨ Feature Test Macro Requirements for glibc β¨
(this is the glibc edition, see feature_test_macros(7) for the whole tea β)
asinh():
_ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L
|| _XOPEN_SOURCE >= 500
|| /* Since glibc 2.19: */ _DEFAULT_SOURCE
|| /* glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE
asinhf(), asinhl():
_ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L
|| /* Since glibc 2.19: */ _DEFAULT_SOURCE
|| /* glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE
likeβ¦ pick one of those, bestie, and you're golden π
π DESCRIPTION π
These functions calculate the inverse hyperbolic sine of x. Which is a fancy way of saying: they hand you back the value whose hyperbolic sine is x. It's giving "un-sinh", and it ate β¨
π₯ RETURN VALUE π₯
On success, these functions return the inverse hyperbolic sine of x. periodt.
- If
xis a NaN, a NaN is returned. π (went in weird, came out weird) - If
xis+0(-0),+0(-0) is returned. our zero keeps its sign, iconic behavior π - If
xis positive infinity (negative infinity), positive infinity (negative infinity) is returned. symmetry slay π
π ERRORS π
No errors occur. Not a single one. Nothing to report. The drama-free function of the century π§
β ATTRIBUTES β
For an explanation of the terms used in this section, see attributes(7).
asinh(),asinhf(),asinhl()β Thread safety: MT-Safe π«Ά (yes, all three of them, they're all safe to share, go wild)
π STANDARDS π
C11, POSIX.1-2008. no cap.
π¦ HISTORY π¦
C99, POSIX.1-2001.
Also, the variant returning double also conforms to SVr4, 4.3BSD. it's old money, it's been around, it's a legacy queen π
π SEE ALSO π
acosh(3), atanh(3), casinh(3), cosh(3), sinh(3), tanh(3) β the whole hyperbolic friend group, go say hi π
and that's the whole page bestie!! π this was the asinh(3) manual page from Linux man-pages 6.20, dated 2026-02-08 β mwah, go compute something, ily π«Άβ¨
π¦ 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: Linux-man-pages-copyleft
- Copyright 1993, David Metcalfe <david@prism.demon.co.uk>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms