CEXP(3P)

πŸ’– CEXP(3P) β€” complex exponential functions πŸ’–

okay bestie, we're in the POSIX Programmer's Manual β€” that's the 3P in the corner, iykyk ✨


🌸 PROLOG 🌸

So like, real talk first: this manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ β€” so if you're on Linux, go consult the corresponding Linux manual page for the details of Linux behavior πŸ‘€. Or honestly? The interface might not even be implemented on Linux at all. Vibe check accordingly πŸ’€


✨ NAME ✨

cexp, cexp, cexpl β€” wait no, let me not do my girl math on the function names 😭

cexp, cexpf, cexpl β€” the complex exponential functions πŸ¦‹


πŸŽ€ SYNOPSIS πŸŽ€

#include <complex.h>

double complex cexp(double complex z);
float complex cexpf(float complex z);
long double complex cexpl(long double complex z);

three flavors, one vibe: double, float, long double. pick your precision, queen πŸ‘‘


πŸ’… DESCRIPTION πŸ’…

The functionality described on this reference page is aligned with the ISO C standard. And if there's any conflict between what's written here and the ISO C standard? That is unintentional, fr fr β€” this volume of POSIX.1‐2017 defers to the ISO C standard. periodt.

These functions shall compute the complex exponent of z, defined as e^z. iconic behavior, honestly 🫢


πŸ”₯ RETURN VALUE πŸ”₯

These functions shall return the complex exponential value of z. That's the whole gig. no notes πŸ’–


πŸ’€ ERRORS πŸ’€

No errors are defined. not me being like "no thoughts head empty" but make it a spec 😭

heads up bestie: the sections that follow are informative β€” so they're the chill, non-normative part of the page ✨

πŸ“ EXAMPLES πŸ“

None. the void, the emptiness, the audacity πŸ™ˆ


🌈 APPLICATION USAGE 🌈

None. she said nothing and she meant it πŸ’…


🧚 RATIONALE 🧚

None. no reasoning given, no reasoning needed, main character energy πŸ‘‘


⭐ FUTURE DIRECTIONS ⭐

None. the future is unspecified and honestly? freeing πŸ¦‹


πŸ‘‘ SEE ALSO πŸ‘‘

  • clog()
  • 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 .


and that's the whole page, bestie!! this one's from IEEE/The Open Group, dated 2017, and it lives at CEXP(3P) πŸŽ€ go forth and exponentiate your complexes, you absolute legend πŸ’–βœ¨πŸŒΈ

πŸ“¦ where this page comes from