SQRT(3G)
β¨ SQRT β¨ (that's the 3G manual, bestie π
)
okay so real talk, this one is short and sweet and it's literally just math. welcome to SQRT(3G), the page where we take square roots. no cap. π
πΈ NAME πΈ
sqrt β return the square root of the parameter
π¦ DECLARATION π¦
here's the tea, exactly as written:
genType sqrt(genType x);
genDType sqrt(genDType x);
π PARAMETERS π
xβ Specify the value of which to take the square root. that's it, that's the whole input, she's a simple queen π
β¨ DESCRIPTION β¨
sqrt returns the square root of $x$, i.e. the value $\sqrt { x }$.
β οΈ The result is undefined is $x < 0$. yes bestie, negative input = undefined, do NOT test her, she will not recover ππ
π VERSION SUPPORT π
no tables in this house, so we're doing this as a list, but every single version is here, i promise, i would never gatekeep π«Ά
sqrt (genType) β slayed in every single one of these:
1.10β1.20β1.30β1.40β1.50β3.30β4.00β4.10β4.20β4.30β4.40β4.50β
sqrt (genDType) β she arrived LATE to the party, and honestly? worth the wait π
1.10-1.20-1.30-1.40-1.50-3.30-4.00β4.10β4.20β4.30β4.40β4.50β
so like, genType was there from day one being the main character, and genDType didn't show up until 4.00. iconic behavior from both of them ngl π
π SEE ALSO π
go read these next, they're the friend group:
pow()inversesqrt()
π 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 Β© 2011-2014 Khronos Group
and that's the whole page, bestie!! π§β¨ this came from [FIXME: source] and it's dated 01/03/2018, and yes it's still SQRT(3G) β go take some square roots and stay hydrated, mwah ππΈ
π¦ 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