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

Functions

OLM_DLLEXPORT double cbrt (double x)
 

Variables

static const u_int32_t B1 = 715094163
 
static const u_int32_t B2 = 696219795
 
static const double P0 = 1.87595182427177009643
 
static const double P1 = -1.88497979543377169875
 
static const double P2 = 1.621429720105354466140
 
static const double P3 = -0.758397934778766047437
 
static const double P4 = 0.145996192886612446982
 

Function Documentation

◆ cbrt()

OLM_DLLEXPORT double cbrt ( double  x)

References B1, B2, IEEEl2bits::bits, EXTRACT_WORDS, GET_HIGH_WORD, high, INSERT_WORDS, low, P0, P1, P2, P3, P4, r, s, SET_HIGH_WORD, t, u, and w.

Referenced by cbrt_test().

Here is the caller graph for this function:

Variable Documentation

◆ B1

const u_int32_t B1 = 715094163
static

Referenced by cbrt().

◆ B2

const u_int32_t B2 = 696219795
static

Referenced by cbrt().

◆ P0

const double P0 = 1.87595182427177009643
static

Referenced by cbrt().

◆ P1

const double P1 = -1.88497979543377169875
static

Referenced by cbrt().

◆ P2

const double P2 = 1.621429720105354466140
static

Referenced by cbrt().

◆ P3

const double P3 = -0.758397934778766047437
static

Referenced by cbrt().

◆ P4

const double P4 = 0.145996192886612446982
static

Referenced by cbrt().