EXP(3G)

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

✨ EXP(3G) β€” or, the glow-up function πŸ’–

okay so bestie, gather round, because today we're talking about exp, the natural exponentiation queen of the GLSL math crew πŸ‘‘ she lives in manual section 3G and she is, lowkey, everywhere.


🌸 NAME 🌸

exp β€” return the natural exponentiation of the parameter

like. she takes your number and she raises e to it. that's the whole job. and she ate πŸ’…


πŸŽ€ DECLARATION πŸŽ€

genType exp(genType x);

that's it. that's the signature. genType in, genType out, no cap 🫢


πŸ¦‹ PARAMETERS πŸ¦‹

  • x β€” Specify the value to exponentiate. (that's your input bb, hand her the number and she'll do the glow-up ✨)

πŸ’œ DESCRIPTION πŸ’œ

pow returns the natural exponentiation of x. i.e., e^x.

yes bestie, the description literally says pow and not exp 😭 we do not make the rules, we just report them fr fr. iconic behavior, no notes.

so: natural exponentiation. e to the power of your x. she's giving exponential growth, she's giving decay, she's giving math 🌈


⭐ VERSION SUPPORT ⭐

the vibe check: does exp show up in this version of the OpenGL Shading Language? bestie. she shows up in every single one. every. single. one. πŸ’€πŸ‘‘

OpenGL Shading Language Version:

  • 1.10 β€” βœ”
  • 1.20 β€” βœ”
  • 1.30 β€” βœ”
  • 1.40 β€” βœ”
  • 1.50 β€” βœ”
  • 3.30 β€” βœ”
  • 4.00 β€” βœ”
  • 4.10 β€” βœ”
  • 4.20 β€” βœ”
  • 4.30 β€” βœ”
  • 4.40 β€” βœ”
  • 4.50 β€” βœ”

Function name: exp. twelve for twelve. perfect attendance. main character energy, periodt πŸ’–


πŸ”₯ SEE ALSO πŸ”₯

her little friend group, go say hi:

  • sin()
  • cos()
  • sinh()
  • cosh()

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 was [FIXME: source], dated 01/03/2018, filed under EXP(3G) β€” go forth and exponentiate responsibly πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from