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

Functions

static void __kernel_sincosdf (double x, float *s, float *c)
 
OLM_DLLEXPORT void sincosf (float x, float *s, float *c)
 

Variables

static const double sc1pio2 = 1*M_PI_2
 
static const double sc2pio2 = 2*M_PI_2
 
static const double sc3pio2 = 3*M_PI_2
 
static const double sc4pio2 = 4*M_PI_2
 
static const double one = 1.0
 
static const double S1 = -0x15555554cbac77.0p-55
 
static const double S2 = 0x111110896efbb2.0p-59
 
static const double S3 = -0x1a00f9e2cae774.0p-65
 
static const double S4 = 0x16cd878c3b46a7.0p-71
 
static const double C0 = -0x1ffffffd0c5e81.0p-54
 
static const double C1 = 0x155553e1053a42.0p-57
 
static const double C2 = -0x16c087e80f1e27.0p-62
 
static const double C3 = 0x199342e0ee5069.0p-68
 

Function Documentation

◆ __kernel_sincosdf()

static void __kernel_sincosdf ( double  x,
float *  s,
float *  c 
)
static

References C0, C1, C2, C3, one, r, s, S1, S2, S3, S4, w, and z.

Referenced by sincosf().

◆ sincosf()

OLM_DLLEXPORT void sincosf ( float  x,
float *  s,
float *  c 
)

Variable Documentation

◆ C0

const double C0 = -0x1ffffffd0c5e81.0p-54
static

Referenced by __kernel_sincosdf().

◆ C1

const double C1 = 0x155553e1053a42.0p-57
static

Referenced by __kernel_sincosdf().

◆ C2

const double C2 = -0x16c087e80f1e27.0p-62
static

Referenced by __kernel_sincosdf().

◆ C3

const double C3 = 0x199342e0ee5069.0p-68
static

Referenced by __kernel_sincosdf().

◆ one

const double one = 1.0
static

Referenced by __kernel_sincosdf().

◆ S1

const double S1 = -0x15555554cbac77.0p-55
static

Referenced by __kernel_sincosdf().

◆ S2

const double S2 = 0x111110896efbb2.0p-59
static

Referenced by __kernel_sincosdf().

◆ S3

const double S3 = -0x1a00f9e2cae774.0p-65
static

Referenced by __kernel_sincosdf().

◆ S4

const double S4 = 0x16cd878c3b46a7.0p-71
static

Referenced by __kernel_sincosdf().

◆ sc1pio2

const double sc1pio2 = 1*M_PI_2
static

Referenced by sincosf().

◆ sc2pio2

const double sc2pio2 = 2*M_PI_2
static

Referenced by sincosf().

◆ sc3pio2

const double sc3pio2 = 3*M_PI_2
static

Referenced by sincosf().

◆ sc4pio2

const double sc4pio2 = 4*M_PI_2
static

Referenced by sincosf().