1/* s_tanf.c -- float version of s_tan.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_tanf.c -- float version of s_tan.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_tanf.c 152640 2005-11-20 20:17:04Z bde $";
| 17static char rcsid[] = "$FreeBSD: head/lib/msun/src/s_tanf.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_TANF
|
21#include "math_private.h"
| 22#include "math_private.h"
|
| 23#include "k_tanf.c"
|
22 23/* Small multiples of pi/2 rounded to double precision. */ 24static const double 25t1pio2 = 1*M_PI_2, /* 0x3FF921FB, 0x54442D18 */ 26t2pio2 = 2*M_PI_2, /* 0x400921FB, 0x54442D18 */ 27t3pio2 = 3*M_PI_2, /* 0x4012D97C, 0x7F3321D2 */ 28t4pio2 = 4*M_PI_2; /* 0x401921FB, 0x54442D18 */ 29
--- 43 unchanged lines hidden --- | 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 */ 30t4pio2 = 4*M_PI_2; /* 0x401921FB, 0x54442D18 */ 31
--- 43 unchanged lines hidden --- |