CACOS(3POSIX)

🌸 CACOS(3POSIX) β€” the POSIX Programmer's Manual, bestie edition 🌸

okay so first things first, the manual name is CACOS(3POSIX) and it lives in the POSIX Programmer's Manual, and I need you to know something before we go any further πŸ‘‘

🫢 PROLOG

This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.

not me warning you about portability before we even get to the fun part 😭 that's just how it is.

✨ NAME ✨

cacos, cacosf, cacosl β€” complex arc cosine functions πŸ’œ


πŸŽ€ SYNOPSIS πŸŽ€

#include <complex.h>

double complex cacos(double complex z);
float complex cacosf(float complex z);
long double complex cacosl(long double complex z);

three functions, three precisions, one vibe. we love a family 🫢


πŸ’… DESCRIPTION πŸ’…

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.

These functions shall compute the complex arc cosine of z, with branch cuts outside the interval [-1, +1] along the real axis.

branch cuts outside [-1, +1] along the real axis. that's the whole tea. memorize it, it's giving math major energy πŸ”₯

🌈 RETURN VALUE 🌈

These functions shall return the complex arc cosine value, in the range of a strip mathematically unbounded along the imaginary axis and in the interval [0, Ο€] along the real axis.

so like… unbounded up and down the imaginary axis, but nicely boxed into [0, Ο€] on the real axis. balanced. iconic. no notes ⭐


πŸ’€ ERRORS πŸ’€

No errors are defined.

The following sections are informative.

bestie there is literally nothing to error about. she simply does not fail. main character behavior fr fr πŸ™ˆ

πŸ¦‹ EXAMPLES πŸ¦‹

None.


🌸 APPLICATION USAGE 🌸

None.


🧚 RATIONALE 🧚

None.


πŸ‘‘ FUTURE DIRECTIONS πŸ‘‘

None.


πŸ’– SEE ALSO πŸ’–

  • ccos()
  • The Base Definitions volume of POSIX.1‐2017, <complex.h>

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 .

yes the copyright section is long, yes you still have to read it, yes I kept every single word of it. i don't make the rules πŸ’…

okay that's the whole page, you ate that, go compute some complex arc cosines πŸŽ€βœ¨ this was brought to you by IEEE/The Open Group, 2017, signing off from CACOS(3POSIX) β€” stay complex, bestie πŸ’œπŸ¦‹