Deleted Added
full compact
s_sinf.c (152596) s_sinf.c (152647)
1/* s_sinf.c -- float version of s_sin.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#ifndef lint
1/* s_sinf.c -- float version of s_sin.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#ifndef lint
17static char rcsid[] = "$FreeBSD: head/lib/msun/src/s_sinf.c 152596 2005-11-19 02:38:27Z bde $";
17static char rcsid[] = "$FreeBSD: head/lib/msun/src/s_sinf.c 152647 2005-11-21 04:57:12Z bde $";
18#endif
19
20#include "math.h"
18#endif
19
20#include "math.h"
21#define INLINE_KERNEL_COSF
22#define INLINE_KERNEL_SINF
21#include "math_private.h"
23#include "math_private.h"
24#include "k_cosf.c"
25#include "k_sinf.c"
22
23/* Small multiples of pi/2 rounded to double precision. */
24static const double
25s1pio2 = 1*M_PI_2, /* 0x3FF921FB, 0x54442D18 */
26s2pio2 = 2*M_PI_2, /* 0x400921FB, 0x54442D18 */
27s3pio2 = 3*M_PI_2, /* 0x4012D97C, 0x7F3321D2 */
28s4pio2 = 4*M_PI_2; /* 0x401921FB, 0x54442D18 */
29

--- 60 unchanged lines hidden ---
26
27/* Small multiples of pi/2 rounded to double precision. */
28static const double
29s1pio2 = 1*M_PI_2, /* 0x3FF921FB, 0x54442D18 */
30s2pio2 = 2*M_PI_2, /* 0x400921FB, 0x54442D18 */
31s3pio2 = 3*M_PI_2, /* 0x4012D97C, 0x7F3321D2 */
32s4pio2 = 4*M_PI_2; /* 0x401921FB, 0x54442D18 */
33

--- 60 unchanged lines hidden ---