COSL(3POSIX)
π¦ COSL(3POSIX) β the vibe check π¦
ok so bestie, you've landed on the COSL(3POSIX) page from the POSIX Programmer's Manual, and honestly? it's a short one. let's get into it π
β¨ PROLOG β¨
okay so real talk before we even start: this manual page is part of the POSIX Programmer's Manual. that's the tea. π΅
- the Linux implementation of this interface may differ β so if you're on Linux, lowkey go consult the corresponding Linux manual page for the actual deets on Linux behavior, fr fr
- or, plot twist, the interface may not be implemented on Linux at all π
no cap, that's the whole prolog. moving on.
πΈ NAME πΈ
cosl β cosine function
that's it. that's the name. it's giving "short and iconic" π
β¨ SYNOPSIS β¨
ok here's the spell you gotta cast to summon it:
#include <math.h>
long double cosl(long double x);
yes bestie, that's math.h, and yes, you gotta include it. the function takes a long double x and gives you back a long double. slay.
π DESCRIPTION π
ok so this is the part where it gets... minimal. π
Refer to cos().
that's literally the entire description. the way that cosl said "I'm not explaining myself, go ask cos()" π iconic behavior honestly. cosl is just the long double version of cos, so the full story lives over there. go read it, bestie. π«Ά
π COPYRIGHT π
ok now the serious part, and we're keeping every word because legal stuff is not the place to freestyle. β οΈ
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 .
π«Ά reminder bestie: if something looks weird, it's probably a conversion oopsie, not the actual standard. report it at that link, don't @ me.
and that's the whole page!! no SEE ALSO, no options, no exit statuses, just a tiny little long double cosine and a whole lot of legal text. we love a short king. π
with love from IEEE/The Open Group, 2017 β periodt. πβ¨
π¦ 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