Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
e to the i pi
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Lane Straatman, post: 2506238"] A lot of them are, but this is exactly the type that would not be: filled with type definitions that ordinary mortals can't remember. sqrt() looks like this in tgmath.h at the dinkumware site: sqrt double sqrt(double x); float sqrt(float x); long double sqrt(long double x); double _Complex sqrt(double _Complex x); float _Complex sqrt(float _Complex x); long double _Complex sqrt(long double _Complex x);The function returns the real square root of x, x^(1/2). I would think double _Complex sqrt(double _Complex x) gives the root in the complex plane we're looking for. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
e to the i pi
Top