This makes it easier to build musl math code with a compiler that does not support complex types (tcc) and in general more sensible factorization of the internal headers.
7 lines
98 B
C
7 lines
98 B
C
#include "complex_impl.h"
|
|
|
|
float cabsf(float complex z)
|
|
{
|
|
return hypotf(crealf(z), cimagf(z));
|
|
}
|