ISINF(3G)
π 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 β
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 (again, they really said it twice) π
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
- 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