SQRT(3G)

πŸ“¦
version 1.0~svn33624 Β· 4 versions
, in ubuntu jammy, ubuntu noble

✨ 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 Β© 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