ERFF(3P)
π ERFF(3P) π
okay bestie, so this is page ERFF(3P) from the POSIX Programmer's Manual β yes, that POSIX, the one that lives in section 3P of your man pages, and she is serving standards-body realness. come sit with me, we're gonna get through this together π«Ά
β¨ PROLOG β¨
okay so first things first, a lil heads up that the manpage gods want you to know, and I'm quoting the vibe here: this manual page is part of the POSIX Programmer's Manual.
the Linux implementation of this interface may differ β so like, please go consult the corresponding Linux manual page for details on Linux behavior, because Linux does its own thing sometimes π
also possible: the interface may not be implemented on Linux at all. not every baddie makes it to every platform, you know? π
πΈ NAME πΈ
erff, erfl β error functions π
yes. that's the name. error functions. not "error" like something went wrong, like the math error function. very different vibe, very important distinction, do not panic π
β SYNOPSIS β
here's the literal incantation, copy it exactly bestie:
#include <math.h>
float erff(float x);
long double erfl(long double x);
so you include <math.h>, and then you've got two lil functions β one that takes and returns a float (erff), and one that takes and returns a long double (erfl). that's it. that's the whole signature. slay β¨
π¦ DESCRIPTION π¦
okay so the entire description is literally: refer to erf(). that's it. that's the whole thing.
like, go read the erf() manpage, bestie, because erff and erfl are just the float and long double versions of that whole situation. no cap, that's all this page is giving you on behavior. iykyk π
π COPYRIGHT π
okay this part is long but we do not skip parts in this house, so here we go, word for word on the legal tea π
portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1-2017, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 7, 2018 Edition, Copyright (C) 2018 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group.
and here's the part that actually matters: in the event of any discrepancy between this version and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. so if we ever disagree, the original wins. periodt.
the original Standard can be obtained online at http://www.opengroup.org/unix/online.html .
also β and this is lowkey relatable β any typographical or formatting errors that appear in this page are most likely to have been introduced during the conversion of the source files to man page format. to report such errors, see https://www.kernel.org/doc/man-pages/reporting_bugs.html . not me making typos during a glow-up π
π quick vibe check: nothing here is dangerous, nothing here is deprecated, nothing here is undefined behavior. it's a math function. it's fine. you're fine. go drink some water. π
and that's the whole page, bestie!! this one came to you from IEEE/The Open Group, dated 2017, and the page itself is ERFF(3P) β that's the footer energy, that's the sign-off, we love her, we thank her for her service ππ
β¨ bye babes!! π¦
π¦ where this page comes from
- alpine 3.22: man-pages-posix 2017a-r0 Β· custom
- alpine 3.23: man-pages-posix 2017a-r0 Β· custom
- alpine 3.24: man-pages-posix 2017a-r0 Β· custom
- arch rolling: man-pages 6.19-1
- 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-posix 2017a
- opensuse-leap 16.0: man-pages-posix 2017a-160000.4.1 Β· SUSE-IEEE
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms