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
- Copyright 2020, Michael Kerrisk <mtk.manpages@gmail.com>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms