CPOW(3POSIX)
π CPOW(3POSIX) π
okay bestie, this one lives in the POSIX Programmer's Manual β that's the whole vibe of this page, CPOW(3POSIX), and it's your girl's guide to the complex power functions. pull up a chair π
πΈ PROLOG πΈ
so like, heads up before we even start:
- 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.
fr fr, check your platform before you start building your whole personality around these functions π
β¨ NAME β¨
cpow, cpowf, cpowl β complex power functions. that's it, that's the trio π
π¦ SYNOPSIS π¦
#include <complex.h>
double complex cpow(double complex x, double complex y);
float complex cpowf(float complex x, float complex y);
long double complex cpowl(long double complex x,
long double complex y);
three flavors, one job, no cap π
π DESCRIPTION π
okay so the functionality described on this reference page is aligned with the ISO C standard. if there's any conflict between the requirements described here and the ISO C standard, that conflict is unintentional β nobody's trying to start drama. this volume of POSIX.1β2017 defers to the ISO C standard, periodt.
These functions shall compute the complex power function x<sup>y</sup>, with a branch cut for the first parameter along the negative real axis. yes bestie, the branch cut is real (literally) and you need to know about it. it's giving "watch your step" π§
π₯ RETURN VALUE π₯
These functions shall return the complex power function value. that's the whole thing, she delivers π β¨
π ERRORS π
No errors are defined. iconic behavior honestly, no notes π
The following sections are informative.
π EXAMPLES π
None. (yes really, we're keeping it mysterious π)
π« APPLICATION USAGE π«
None. (also nothing, we love a low-effort queen π«Ά)
π RATIONALE π
None.
β FUTURE DIRECTIONS β
None.
π SEE ALSO π
cabs()csqrt()
The Base Definitions volume of POSIX.1β2017, <complex.h>
iykyk, go read those next π
π COPYRIGHT π
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 cutie was brought to you by IEEE/The Open Group, dated 2017, filed under CPOW(3POSIX) β stay complex, stay powered, 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