mirror of
https://git.planet-casio.com/Lephenixnoir/OpenLibm.git
synced 2024-12-29 13:03:42 +01:00
7e5585aaca
This is a bit more consistent with the naming of the other header files (openlibm_complex.h and openlibm_fenv.h). Re-add an openlibm.h header that includes all of the public headers as a shorthand. Fix up all of the source files to include <openlibm_math.h> instead of <openlibm.h>. While there, fix ordering of the includes.
19 lines
300 B
C
19 lines
300 B
C
/*
|
|
* cabsf() wrapper for hypotf().
|
|
*
|
|
* Written by J.T. Conklin, <jtc@wimsey.com>
|
|
* Placed into the Public Domain, 1994.
|
|
*/
|
|
|
|
#include <openlibm_complex.h>
|
|
#include <openlibm_math.h>
|
|
|
|
#include "math_private.h"
|
|
|
|
DLLEXPORT float
|
|
cabsf(z)
|
|
float complex z;
|
|
{
|
|
|
|
return hypotf(crealf(z), cimagf(z));
|
|
}
|