CCOS(3POSIX)
π CCOS(3POSIX) β the POSIX Programmer's Manual, bestie edition π
okay so before we even get into it: this is a page from the POSIX Programmer's Manual, and I need you to know something real quick. β¨
πΈ PROLOG πΈ
Heads up, bestie, this is important:
- This manual page is part of the POSIX Programmer's Manual.
- The Linux implementation of this interface may differ β so go check the corresponding Linux manual page for the actual Linux tea. π«
- Or, plot twist, the interface may not be implemented on Linux at all. π
π NAME π
ccos, ccosf, ccosl β complex cosine functions. that's the whole vibe. trigonometry but make it complex π
β¨ SYNOPSIS β¨
#include <complex.h>
double complex ccos(double complex z);
float complex ccosf(float complex z);
long double complex ccosl(long double complex z);
three sisters, three precisions, one job. slay. π
π¦ DESCRIPTION π¦
Okay so first, the legal-ish bit, but I'm gonna say it with love: the functionality described on this reference page is aligned with the ISO C standard. Any conflict between the requirements described here and the ISO C standard is unintentional. This volume of POSIX.1β2017 defers to the ISO C standard. periodt. π
And now the actual thing you came here for: these functions shall compute the complex cosine of z. that's it. that's the whole function. no cap. π
π₯ RETURN VALUE π₯
These functions shall return the complex cosine value. giving exactly what it says on the tin, and honestly? iconic. β
π ERRORS π
No errors are defined.
and then, the quietest sentence in the whole page:
The following sections are informative.
which is manpage-speak for "the rest of this is lore, not law." iykyk. π
π EXAMPLES π
None.
bestie they really said "figure it out" π
π APPLICATION USAGE π
None.
same energy. moving on. π§
π RATIONALE π
None.
the reasoning? not documented. the vibes? immaculate. π
π FUTURE DIRECTIONS π
None.
no plans, no plot, just vibes. π¦
π SEE ALSO π
cacos()
Also, from the Base Definitions volume of POSIX.1β2017: <complex.h>
like, obviously check the header, that's where the family lives. π«Ά
π COPYRIGHT π
okay so here's the serious part, and I'm keeping every word because it matters:
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. 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. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html .
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 .
fr fr, that's the whole page. go compute your complex cosines, bestie. π«Ά
IEEE/The Open Group ran this in 2017, and honestly? thank you for your service. π mwah. πβ¨
π¦ where this page comes from
- debian bookworm: manpages-posix-dev 2017a-2 Β· Other
- debian trixie: manpages-posix-dev 2017a-2 Β· Other
- ubuntu jammy: manpages-posix-dev 2017a-2 Β· Other
- ubuntu noble: manpages-posix-dev 2017a-2 Β· Other
- ubuntu resolute: manpages-posix-dev 2017a-2build1 Β· Other
- ubuntu stonking: manpages-posix-dev 2017a-2.1 Β· Other
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms