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

Functions

static void __kernel_sincos (double x, double y, int iy, double *k_s, double *k_c)
 
OLM_DLLEXPORT void sincos (double x, double *s, double *c)
 

Variables

static const double one = 1.00000000000000000000e+00
 
static const double half = 5.00000000000000000000e-01
 
static const double S1 = -1.66666666666666324348e-01
 
static const double S2 = 8.33333333332248946124e-03
 
static const double S3 = -1.98412698298579493134e-04
 
static const double S4 = 2.75573137070700676789e-06
 
static const double S5 = -2.50507602534068634195e-08
 
static const double S6 = 1.58969099521155010221e-10
 
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_sincos()

static void __kernel_sincos ( double  x,
double  y,
int  iy,
double *  k_s,
double *  k_c 
)
static

References C1, C2, C3, C4, C5, C6, half, one, r, S1, S2, S3, S4, S5, S6, w, and z.

Referenced by sincos().

◆ sincos()

OLM_DLLEXPORT void sincos ( double  x,
double *  s,
double *  c 
)

Variable Documentation

◆ C1

const double C1 = 4.16666666666666019037e-02
static

Referenced by __kernel_sincos().

◆ C2

const double C2 = -1.38888888888741095749e-03
static

Referenced by __kernel_sincos().

◆ C3

const double C3 = 2.48015872894767294178e-05
static

Referenced by __kernel_sincos().

◆ C4

const double C4 = -2.75573143513906633035e-07
static

Referenced by __kernel_sincos().

◆ C5

const double C5 = 2.08757232129817482790e-09
static

Referenced by __kernel_sincos().

◆ C6

const double C6 = -1.13596475577881948265e-11
static

Referenced by __kernel_sincos().

◆ half

const double half = 5.00000000000000000000e-01
static

Referenced by __kernel_sincos().

◆ one

const double one = 1.00000000000000000000e+00
static

Referenced by __kernel_sincos().

◆ S1

const double S1 = -1.66666666666666324348e-01
static

Referenced by __kernel_sincos().

◆ S2

const double S2 = 8.33333333332248946124e-03
static

Referenced by __kernel_sincos().

◆ S3

const double S3 = -1.98412698298579493134e-04
static

Referenced by __kernel_sincos().

◆ S4

const double S4 = 2.75573137070700676789e-06
static

Referenced by __kernel_sincos().

◆ S5

const double S5 = -2.50507602534068634195e-08
static

Referenced by __kernel_sincos().

◆ S6

const double S6 = 1.58969099521155010221e-10
static

Referenced by __kernel_sincos().