ISINF(3G)

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

πŸ’– ISINF(3G) β€” the isinf page, bestie edition πŸ’–

okay so real talk: this is ISINF(3G) from the manual, and it's giving "tiny function, huge main character energy." let's get into it ✨


🌸 NAME 🌸

isinf β€” figure out whether the parameter is positive or negative infinity πŸ¦‹


✨ DECLARATION ✨

genBType isinf(genType x);

genBType isinf(genDType x);

πŸŽ€ PARAMETERS πŸŽ€

  • x β€” the value you want to test for infinity. that's it, that's the whole job πŸ’…

πŸ’œ DESCRIPTION πŸ’œ

so for each element i of the result, isinf returns true if x[i] is positive or negative floating point infinity, and false otherwise. periodt. πŸ’–

ngl it's not out here telling you which infinity you got β€” positive or negative, both count, it just says "yep that's infinite bestie" 😌

πŸ‘‘ VERSION SUPPORT πŸ‘‘

the whole OpenGL Shading Language version situation, laid out cute because we don't do tables here:

isinf (genType) β€” slayed in every single 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 βœ”

isinf (genDType) β€” late bloomer era 😭, showed up at 4.00:

  • 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, if you're on genDType and you're living in anything before 4.00? not supported, bestie, it's giving nothing πŸ™ˆ


🫢 SEE ALSO 🫢

isnan()

(its sibling, the other vibe check for weird floats πŸ’œ)


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


okay that's the whole page, no notes, ate and left no crumbs πŸ’…βœ¨

and for the little sign-off at the bottom: this one came from [FIXME: source], dated 01/03/2018, filed under ISINF(3G). mwah πŸŽ€πŸ’–πŸ¦‹

πŸ“¦ where this page comes from