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

Functions

OLM_DLLEXPORT double expm1 (double x)
 

Variables

static const double one = 1.0
 
static const double huge = 1.0e+300
 
static const double tiny = 1.0e-300
 
static const double o_threshold = 7.09782712893383973096e+02
 
static const double ln2_hi = 6.93147180369123816490e-01
 
static const double ln2_lo = 1.90821492927058770002e-10
 
static const double invln2 = 1.44269504088896338700e+00
 
static const double Q1 = -3.33333333333331316428e-02
 
static const double Q2 = 1.58730158725481460165e-03
 
static const double Q3 = -7.93650757867487942473e-05
 
static const double Q4 = 4.00821782732936239552e-06
 
static const double Q5 = -2.01099218183624371326e-07
 

Function Documentation

◆ expm1()

OLM_DLLEXPORT double expm1 ( double  x)

References IEEEl2bits::e, GET_HIGH_WORD, GET_LOW_WORD, huge, INSERT_WORDS, invln2, k, ln2_hi, ln2_lo, low, o_threshold, one, Q1, Q2, Q3, Q4, Q5, r1, SET_HIGH_WORD, STRICT_ASSIGN, t, and tiny.

Referenced by __ieee754_cosh(), __ieee754_sinh(), expm1_test(), and tanh().

Here is the caller graph for this function:

Variable Documentation

◆ huge

const double huge = 1.0e+300
static

Referenced by expm1().

◆ invln2

const double invln2 = 1.44269504088896338700e+00
static

Referenced by expm1().

◆ ln2_hi

const double ln2_hi = 6.93147180369123816490e-01
static

Referenced by expm1().

◆ ln2_lo

const double ln2_lo = 1.90821492927058770002e-10
static

Referenced by expm1().

◆ o_threshold

const double o_threshold = 7.09782712893383973096e+02
static

Referenced by expm1().

◆ one

const double one = 1.0
static

Referenced by expm1().

◆ Q1

const double Q1 = -3.33333333333331316428e-02
static

Referenced by expm1().

◆ Q2

const double Q2 = 1.58730158725481460165e-03
static

Referenced by expm1().

◆ Q3

const double Q3 = -7.93650757867487942473e-05
static

Referenced by expm1().

◆ Q4

const double Q4 = 4.00821782732936239552e-06
static

Referenced by expm1().

◆ Q5

const double Q5 = -2.01099218183624371326e-07
static

Referenced by expm1().

◆ tiny

const double tiny = 1.0e-300
static

Referenced by expm1().