Deleted Added
sdiff udiff text old ( 176451 ) new ( 181062 )
full compact
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 181062 2008-07-31 19:57:50Z das $");
18
19#include "math.h"
20#include "math_private.h"
21
22static volatile float
23tiny = 1.0e-30;
24static const float
25zero = 0.0,
26pi_o_4 = 7.8539818525e-01, /* 0x3f490fdb */
27pi_o_2 = 1.5707963705e+00, /* 0x3fc90fdb */
28pi = 3.1415927410e+00; /* 0x40490fdb */
29static volatile float
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 ---