csqrtf, csqrt, csqrtl
From cppreference.com
                    
                                        
                    
                    
                                                            
                    | Defined in header  <complex.h> | ||
| (since C99) | ||
| (since C99) | ||
| (since C99) | ||
Computes the complex square root of z with branch cut along the negative real axis.
| Contents | 
[edit] Parameters
| z | - | complex argument | 
[edit] Return value
The complex square root of z in the interval [0; +∞) along the real axis and in the interval (−∞; +∞) along the imaginary axis.
[edit] Example
Run this code
Output:
0.000000+1.000000i 1.272020+0.786151i
[edit] See also
| (C99)(C99)(C99) | computes the complex power function (function) | 
| (C99)(C99) | computes square root (√x) (function) | 
| C++ documentation for sqrt | |


