Go to the source code of this file.
|
static const double | one = 1.00000000000000000000e+00 |
|
static const double | C1 = 4.16666666666666019037e-02 |
|
static const double | C2 = -1.38888888888741095749e-03 |
|
static const double | C3 = 2.48015872894767294178e-05 |
|
static const double | C4 = -2.75573143513906633035e-07 |
|
static const double | C5 = 2.08757232129817482790e-09 |
|
static const double | C6 = -1.13596475577881948265e-11 |
|
◆ __kernel_cos()
Definition at line 59 of file k_cos.c.
References C1, C2, C3, C4, C5, C6, GET_HIGH_WORD, INSERT_WORDS, and one.
Referenced by cos(), and sin().
66 if(((
int)
x)==0)
return one;
71 return one - (0.5*z - (z*r -
x*
y));
80 return a - (hz - (z*r-
x*
y));
#define GET_HIGH_WORD(i, d)
GLdouble GLdouble GLdouble r
GLint GLint GLint GLint GLint x
#define INSERT_WORDS(d, ix0, ix1)
GLint GLint GLint GLint GLint GLint y
GLboolean GLboolean GLboolean GLboolean a
◆ C1
const double C1 = 4.16666666666666019037e-02 |
|
static |
◆ C2
const double C2 = -1.38888888888741095749e-03 |
|
static |
◆ C3
const double C3 = 2.48015872894767294178e-05 |
|
static |
◆ C4
const double C4 = -2.75573143513906633035e-07 |
|
static |
◆ C5
const double C5 = 2.08757232129817482790e-09 |
|
static |
◆ C6
const double C6 = -1.13596475577881948265e-11 |
|
static |
◆ one
const double one = 1.00000000000000000000e+00 |
|
static |