EXP2(3G)

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

πŸ’– NAME πŸ’–

okay so bestie, welcome to EXP2(3G) β€” the manual page for exp2, which returns 2 raised to the power of the parameter. yes that's it, that's the whole vibe. it's giving "math but make it shader" ✨


πŸŽ€ DECLARATION πŸŽ€

here's the signature, copy it exactly or the compiler will simply not hear you:

genType exp2(genType x);

🌸 PARAMETERS 🌸

  • x β€” you gotta specify the value of the power to which 2 will be raised. that's the assignment, that's the whole job. πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

exp2 returns 2 raised to the power of x. i.e., 2x. no cap, that's literally what it does β€” it's the "2 to the what now" function and it eats and leaves no crumbs πŸ‘‘


πŸ‘‘ VERSION SUPPORT πŸ‘‘

so like, is exp2 supported across the OpenGL Shading Language versions? bestie. it's supported in every single one. every icon on the board is a checkmark. the version support table is a wall of βœ” and honestly? iconic. πŸ†

  • 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. undefeated. periodt. πŸ’€βœ¨


🌈 SEE ALSO 🌈

go be nosy about the rest of the math girlies:

  • exp()
  • log()
  • log2()

iykyk πŸ’œ


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 page!! mwah 🫢 this was brought to you by [FIXME: source] and the date 01/03/2018, which are the very last little crumbs of this manpage footer. stan a documented shader function. bye bestie!! πŸ’–πŸŽ€πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from