SDL_isnanf(3)
π SDL_isnanf β a manual page, but make it cute
okay bestie, welcome to SDL_isnanf(3) from the SDL3 FUNCTIONS collection. yes we're doing math-adjacent float lore today and honestly? it's giving extremely specific and I'm obsessed. π¦
β¨ NAME β¨
SDL_isnanf β Return whether the value is NaN.
like, is this float Not A Number or not. that's the whole job. that's the entire assignment. π
β¨ SYNOPSIS β¨
#include <SDL3/SDL_stdinc.h>
int SDL_isnanf(float x);
β¨ FUNCTION PARAMETERS β¨
xβ floating point value. just. a float. a little guy. hand it over. π«Ά
β¨ RETURN VALUE β¨
Returns non-zero if the value is NaN, and 0 otherwise.
no cap, that's it β truthy means "yeah this one's a NaN", falsy means "nope, it's a real number, carry on". π
β¨ THREAD SAFETY β¨
It is safe to call this function from any thread.
bestie you can call it from every thread. all of them. simultaneously. it's fine, it's chill, main character energy for days. π
β¨ AVAILABILITY β¨
This function is available since SDL 3.2.0.
so if you're on something older than that? π not me telling you to upgrade but... upgrade.
β¨ SEE ALSO β¨
SDL_isnan(3)β the sibling. the double-flavoured version. iykyk.
okay that's the whole page, no notes, ate and left no crumbs. this was Simple Directmedia Layer manual page for SDL 3.4.18 β and yeah the footer had no date on it, which is honestly so mysterious of it, but we respect the vibe. ππ bye bestie, go check your floats β¨πΈ
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms