Namespaces
Variants
Actions

Talk:c/numeric/complex

From cppreference.com

[edit] "arc" in the pages of complex inverse hyperbolics

Should "arc" really be "inverse" or better "area"? I have read that these functions have nothing to do with an arc. Newatthis (talk) 06:27, 20 May 2014 (PDT)

Both The C standard and the POSIX standard call them "complex arc hyperbolic cosine" etc. Even though this wiki's C++ reference was changed to "area" at some point, I believe the normative reference should follow the standards, with contradictions and alternatives noted under "Notes". --Cubbi (talk) 06:34, 20 May 2014 (PDT)

[edit] MSVC <complex.h>

Could we add a note to mention that while MSVC does provide the <complex.h> header, the compiler does not understand the (double/float/long double) complex datatypes ? Microsoft's implementation uses a struct _complex to support complex math arithmetic, which is not standard-compliant and obviously does not support the + - * / operators.


Babbage (talk) 05:50, 16 January 2024 (PST)