Embedded Artistry Framework
Embedded Systems C++ Framework
Functions | Variables
k_cos.c File Reference
#include "cdefs-compat.h"
#include <openlibm_math.h>
#include "math_private.h"
Include dependency graph for k_cos.c:

Functions

OLM_DLLEXPORT double __kernel_cos (double x, double y)
 

Variables

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
 

Function Documentation

◆ __kernel_cos()

OLM_DLLEXPORT double __kernel_cos ( double  x,
double  y 
)

References C1, C2, C3, C4, C5, C6, one, r, w, and z.

Referenced by cos(), sin(), and sin_pi().

Here is the caller graph for this function:

Variable Documentation

◆ C1

const double C1 = 4.16666666666666019037e-02
static

Referenced by __kernel_cos().

◆ C2

const double C2 = -1.38888888888741095749e-03
static

Referenced by __kernel_cos().

◆ C3

const double C3 = 2.48015872894767294178e-05
static

Referenced by __kernel_cos().

◆ C4

const double C4 = -2.75573143513906633035e-07
static

Referenced by __kernel_cos().

◆ C5

const double C5 = 2.08757232129817482790e-09
static

Referenced by __kernel_cos().

◆ C6

const double C6 = -1.13596475577881948265e-11
static

Referenced by __kernel_cos().

◆ one

const double one = 1.00000000000000000000e+00
static

Referenced by __kernel_cos().