ATANH(3G)
β¨ NAME β¨
atanh β bestie, this one hands you back the arc hyperbolic tangent of whatever parameter you toss at it π
(also hi, this is the 3G manual page, living in the OpenGL family, just so u know where u are π«Ά)
π DECLARATION π
okay so here's the signature, literally copy it, don't freestyle:
genType atanh(genType x);
πΈ PARAMETERS πΈ
xβ the value whose arc hyperbolic tangent you want back. that's it. that's the whole job. she's simple, she's iconic π
π DESCRIPTION π
so atanh returns the arc hyperbolic tangent of x β she's the inverse of tanh(), the two of them are giving very much "you complete me" π
big warning bestie: the result is undefined if $\left| x \right| > 1$. like, undefined undefined. don't come crying to me when your shader starts acting haunted π
π VERSION SUPPORT π
the glow-up timeline of which OpenGL Shading Language versions said yes to atanh. (spreadsheet said β for every single one, and honestly? she ate.)
- 1.10 β β
- 1.20 β β
- 1.30 β β
- 1.40 β β
- 1.50 β β
- 3.30 β β
- 4.00 β β
- 4.10 β β
- 4.20 β β
- 4.30 β β
- 4.40 β β
- 4.50 β β
twelve for twelve, no notes, main character energy all the way down πβ¨
π¦ SEE ALSO π¦
her little friend group, go say hi:
sin()cos()sinh()cosh()
β COPYRIGHT β
Copyright Β© 2011-2014 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.
π COPYRIGHT (again, she said it twice) π
Copyright Β© 2011-2014 Khronos Group
and that's the page, bestie π«Ά this was the ATANH(3G) manual, source listed as [FIXME: source] (yeah, still a FIXME, not me judging π), dated 01/03/2018, and it literally signed off as ATANH(3G) one more time for the girls. slay, bye π
π¦ where this page comes from
- ubuntu jammy: opengl-4-man-doc 1.0~svn33624-1 Β· SGI-Free-Software-B-License-2
- ubuntu noble: opengl-4-man-doc 1.0~svn33624-1 Β· SGI-Free-Software-B-License-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms