avoid the thread-ptr-init behavior of sigaction when not installing handler
[musl] / src / complex / cabs.c
1 #include "libm.h"
2
3 double cabs(double complex z)
4 {
5         return hypot(creal(z), cimag(z));
6 }