Cygwin: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git] / newlib / libm / mathfp / sf_atan2.c
blobdfe1d3375aac90358130027fc22f94bd2a34cad6
2 /* @(#)z_atan2f.c 1.0 98/08/13 */
3 /******************************************************************
4 * Arctangent2
6 * Input:
7 * v, u - floating point values
9 * Output:
10 * arctan2 of v / u
12 * Description:
13 * This routine returns the arctan2 of v / u.
15 *****************************************************************/
17 #include "fdlibm.h"
18 #include "zmath.h"
20 float
21 atan2f (float v,
22 float u)
24 return (atangentf (0.0, v, u, 1));
27 #ifdef _DOUBLE_IS_32BITS
28 double atan2 (double v, double u)
30 return (double) atangentf (0.0, (float) v, (float) u, 1);
33 #endif /* defined(_DOUBLE_IS_32BITS) */