ASIN(3G)
β¨ ASIN β ok bestie, let's talk arcsine β¨
hey hi hello π this is the asin page from the [FIXME: manual] β yes the manual name is literally a FIXME, we don't ask questions, we just vibe π«Ά
πΈ NAME πΈ
asin β return the arcsine of the parameter. that's it, that's the whole job π
π DECLARATION π
genType asin(genType x);
look at her. one line. iconic. β¨
π¦ PARAMETERS π¦
xβ the value whose arcsine you want back, babe. hand it over and it'll do the math π§
π DESCRIPTION π
so, plot twist: the manpage literally says
"atan returns the angle whose trigonometric sine is $x$."
and we're keeping that exactly as-is because the facts do not change, even when they're a lil typo-coded π (yes it says atan, yes this is the asin page, no we are not touching it, moving on π)
anyway β asin gives you back the angle whose trigonometric sine is $x$. π₯
the range of values returned by asin is $[-{\pi \over 2}, {\pi \over 2}]$ β
result is undefined if $\left| x \right| > 1$. like, genuinely undefined, no cap. don't feed it a value with absolute value bigger than 1, bestie, it will not go well π
π VERSION SUPPORT π
which OpenGL Shading Language versions are serving asin? literally all of them, she ate π
- Function name:
asin - 1.10 β β
- 1.20 β β
- 1.30 β β
- 1.40 β β
- 1.50 β β
- 3.30 β β
- 4.00 β β
- 4.10 β β
- 4.20 β β
- 4.30 β β
- 4.40 β β
- 4.50 β β
every single column checked, main character energy the entire time π
π SEE ALSO π
go say hi to her friends, they're all in the same squad π
sin()cos()acos()tan()
π 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 (yes, again) π
Copyright Β© 2011-2014 Khronos Group
and that's the whole page, bestie π this came from the source tagged [FIXME: source], dated 01/03/2018, and it's the ASIN(3G) page β go forth and arcsine responsibly, ily π«Άβ¨π
π¦ 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