fenv_t(3type)

✨ fenv_t(3type) ✨ β€” like, the floating-point environment, bestie πŸ’–

okay so real talk: this is the manual page for two lil typedefs from the Linux man-pages, and they live in the <fenv.h> cinematic universe 🌈. If you've ever wondered what's actually going on with your floating-point vibes, this is the tea. πŸ«–


🌸 NAME 🌸

fenv_t, fexcept_t β€” floating-point environment πŸ’…

like... the whole entire environment. the control modes AND the status flags. iconic behavior honestly.


πŸ“š LIBRARY πŸ“š

Standard C library β€” libc πŸŽ€

(the one you already have, bestie, no extra install required ✨)


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <fenv.h>

typedef /* ... */ fenv_t;
typedef /* ... */ fexcept_t;
ngl those /* ... */ comments are doing a LOT of heavy lifting β€” the standard is basically like "bestie we're not telling you exactly what's inside, it's giving mystery, it's giving implementation-defined πŸ”₯". Don't @ me, that's just what C says.

πŸ‘‘ DESCRIPTION πŸ‘‘

okay so let's break it down because there are literally TWO of them and they are NOT the same thing, do not conflate them, I'm begging πŸ™

  • fenv_t β€” this one represents the entire floating-point environment, and when I say entire I mean entire, including the control modes and the status flags ✨. It's the full package. main character energy. πŸ’–
  • fexcept_t β€” this one represents the floating-point status flags collectively 🌸. Not the control modes. Just the flags. Together. As a collective. As a girl group. πŸŽ€

and if you want the further details β€” and bestie you do want the further details β€” go see fenv(3). that's where the plot thickens. πŸ‘€


πŸ“ STANDARDS πŸ“

C11, POSIX.1-2024 πŸ’―

so fr fr, it's standardized, it's official, it's certified slay. πŸ‘‘


πŸ•°οΈ HISTORY πŸ•°οΈ

C99, POSIX.1-2001 🌟

aka this has been around for a MINUTE. it was doing its thing before you were born, no cap. respect your elders. πŸ™ˆ


πŸ‘€ SEE ALSO πŸ‘€

  • fenv(3) β€” the one you actually want if you're looking for further details πŸ’œ

okay that's the whole page, you ate that, go forth and float your points πŸ¦‹βœ¨


this lil rewrite was brought to you by Linux man-pages 6.20, dated 2026-02-08 β€” mwah, kisses, bye bestie πŸ’–πŸ’…πŸŽ€

πŸ“¦ where this page comes from
  • arch rolling: man-pages 6.20-1 Β· BSD-2-Clause AND BSD-3-Clause AND BSD-4.3TAHOE AND BSD-4-Clause-UC AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-linking-exception AND LGPL-3.0-or-later AND LicenseRef-Public-Domain AND LicenseRef-UltraPermissive AND Linux-man-pages-1-para AND Linux-man-pages-copyleft AND Linux-man-pages-copyleft-2-para AND Linux-man-pages-copyleft-var AND MIT AND Spencer-94
  • nixpkgs unstable: man-pages 6.20
  • πŸ“œ the page's license: Linux-man-pages-copyleft
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms