math cleanup: use 1.0f instead of (float)1.0
[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 }