1/* s_tanf.c -- float version of s_tan.c. 2 * Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com.
| 1/* s_tanf.c -- float version of s_tan.c. 2 * Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com.
|
| 3 * Optimized by Bruce D. Evans.
|
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
| 4 */ 5 6/* 7 * ==================================================== 8 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. 9 * 10 * Developed at SunPro, a Sun Microsystems, Inc. business. 11 * Permission to use, copy, modify, and distribute this 12 * software is freely granted, provided that this notice 13 * is preserved. 14 * ==================================================== 15 */ 16 17#ifndef lint
|
17static char rcsid[] = "$FreeBSD: head/lib/msun/src/s_tanf.c 152713 2005-11-23 14:27:56Z bde $";
| 18static char rcsid[] = "$FreeBSD: head/lib/msun/src/s_tanf.c 152870 2005-11-28 05:35:32Z bde $";
|
18#endif 19 20#include "math.h"
| 19#endif 20 21#include "math.h"
|
21#define INLINE_KERNEL_TANF
| 22#define INLINE_KERNEL_TANDF
|
22#include "math_private.h" 23#include "k_tanf.c" 24 25/* Small multiples of pi/2 rounded to double precision. */ 26static const double 27t1pio2 = 1*M_PI_2, /* 0x3FF921FB, 0x54442D18 */ 28t2pio2 = 2*M_PI_2, /* 0x400921FB, 0x54442D18 */ 29t3pio2 = 3*M_PI_2, /* 0x4012D97C, 0x7F3321D2 */
--- 39 unchanged lines hidden --- | 23#include "math_private.h" 24#include "k_tanf.c" 25 26/* Small multiples of pi/2 rounded to double precision. */ 27static const double 28t1pio2 = 1*M_PI_2, /* 0x3FF921FB, 0x54442D18 */ 29t2pio2 = 2*M_PI_2, /* 0x400921FB, 0x54442D18 */ 30t3pio2 = 3*M_PI_2, /* 0x4012D97C, 0x7F3321D2 */
--- 39 unchanged lines hidden --- |