extend cmath (some of the functions are dummy)
[libm] / src / cmath / cabsl.c
1 #include "libm.h"
2
3 #if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
4 long double cabsl(long double complex z)
5 {
6         return cabs(z);
7 }
8 #else
9 long double cabsl(long double complex z)
10 {
11         return hypotl(creall(z), cimagl(z));
12 }
13 #endif