~ubuntu-branches/ubuntu/precise/eglibc/precise-201308281639

« back to all changes in this revision

Viewing changes to sysdeps/ieee754/flt-32/e_acosf.c

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2012-02-08 01:58:09 UTC
  • mfrom: (1.5.3) (288.1.12 precise)
  • Revision ID: package-import@ubuntu.com-20120208015809-ulscst7uteq3e22z
Tags: 2.15~pre6-0ubuntu10
Merge from Debian (r5151, 2.13-26).

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 *
9
9
 * Developed at SunPro, a Sun Microsystems, Inc. business.
10
10
 * Permission to use, copy, modify, and distribute this
11
 
 * software is freely granted, provided that this notice 
 
11
 * software is freely granted, provided that this notice
12
12
 * is preserved.
13
13
 * ====================================================
14
14
 */
15
15
 
16
 
#if defined(LIBM_SCCS) && !defined(lint)
17
 
static char rcsid[] = "$NetBSD: e_acosf.c,v 1.5 1995/05/12 04:57:16 jtc Exp $";
18
 
#endif
19
 
 
20
16
#include "math.h"
21
17
#include "math_private.h"
22
18
 
23
 
#ifdef __STDC__
24
 
static const float 
25
 
#else
26
 
static float 
27
 
#endif
 
19
static const float
28
20
one =  1.0000000000e+00, /* 0x3F800000 */
29
21
pi =  3.1415925026e+00, /* 0x40490fda */
30
22
pio2_hi =  1.5707962513e+00, /* 0x3fc90fda */
40
32
qS3 = -6.8828397989e-01, /* 0xbf303361 */
41
33
qS4 =  7.7038154006e-02; /* 0x3d9dc62e */
42
34
 
43
 
#ifdef __STDC__
44
 
        float __ieee754_acosf(float x)
45
 
#else
46
 
        float __ieee754_acosf(x)
47
 
        float x;
48
 
#endif
 
35
float
 
36
__ieee754_acosf(float x)
49
37
{
50
38
        float z,p,q,r,w,s,c,df;
51
39
        int32_t hx,ix;
87
75
            return (float)2.0*(df+w);
88
76
        }
89
77
}
 
78
strong_alias (__ieee754_acosf, __acosf_finite)