Deleted Added
full compact
e_atan2f.c (176451) e_atan2f.c (181062)
1/* e_atan2f.c -- float version of e_atan2.c.
2 * Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com.
3 */
4
5/*
6 * ====================================================
7 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
8 *
9 * Developed at SunPro, a Sun Microsystems, Inc. business.
10 * Permission to use, copy, modify, and distribute this
11 * software is freely granted, provided that this notice
12 * is preserved.
13 * ====================================================
14 */
15
16#include <sys/cdefs.h>
1/* e_atan2f.c -- float version of e_atan2.c.
2 * Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com.
3 */
4
5/*
6 * ====================================================
7 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
8 *
9 * Developed at SunPro, a Sun Microsystems, Inc. business.
10 * Permission to use, copy, modify, and distribute this
11 * software is freely granted, provided that this notice
12 * is preserved.
13 * ====================================================
14 */
15
16#include <sys/cdefs.h>
17__FBSDID("$FreeBSD: head/lib/msun/src/e_atan2f.c 176451 2008-02-22 02:30:36Z das $");
17__FBSDID("$FreeBSD: head/lib/msun/src/e_atan2f.c 181062 2008-07-31 19:57:50Z das $");
18
19#include "math.h"
20#include "math_private.h"
21
18
19#include "math.h"
20#include "math_private.h"
21
22static volatile float
23tiny = 1.0e-30;
22static const float
24static const float
23tiny = 1.0e-30,
24zero = 0.0,
25pi_o_4 = 7.8539818525e-01, /* 0x3f490fdb */
26pi_o_2 = 1.5707963705e+00, /* 0x3fc90fdb */
25zero = 0.0,
26pi_o_4 = 7.8539818525e-01, /* 0x3f490fdb */
27pi_o_2 = 1.5707963705e+00, /* 0x3fc90fdb */
27pi = 3.1415927410e+00, /* 0x40490fdb */
28pi = 3.1415927410e+00; /* 0x40490fdb */
29static volatile float
28pi_lo = -8.7422776573e-08; /* 0xb3bbbd2e */
29
30float
31__ieee754_atan2f(float y, float x)
32{
33 float z;
34 int32_t k,m,hx,hy,ix,iy;
35

--- 61 unchanged lines hidden ---
30pi_lo = -8.7422776573e-08; /* 0xb3bbbd2e */
31
32float
33__ieee754_atan2f(float y, float x)
34{
35 float z;
36 int32_t k,m,hx,hy,ix,iy;
37

--- 61 unchanged lines hidden ---