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

Functions

OLM_DLLEXPORT float expm1f (float x)
 

Variables

static const float one = 1.0
 
static const float huge = 1.0e+30
 
static const float tiny = 1.0e-30
 
static const float o_threshold = 8.8721679688e+01
 
static const float ln2_hi = 6.9313812256e-01
 
static const float ln2_lo = 9.0580006145e-06
 
static const float invln2 = 1.4426950216e+00
 
static const float Q1 = -3.3333212137e-2
 
static const float Q2 = 1.5807170421e-3
 

Function Documentation

◆ expm1f()

OLM_DLLEXPORT float expm1f ( float  x)

References IEEEl2bits::e, GET_FLOAT_WORD, huge, invln2, k, ln2_hi, ln2_lo, o_threshold, one, Q1, Q2, r1, SET_FLOAT_WORD, STRICT_ASSIGN, t, and tiny.

Referenced by __ieee754_coshf(), __ieee754_sinhf(), and tanhf().

Here is the caller graph for this function:

Variable Documentation

◆ huge

const float huge = 1.0e+30
static

Referenced by expm1f().

◆ invln2

const float invln2 = 1.4426950216e+00
static

Referenced by expm1f().

◆ ln2_hi

const float ln2_hi = 6.9313812256e-01
static

Referenced by expm1f().

◆ ln2_lo

const float ln2_lo = 9.0580006145e-06
static

Referenced by expm1f().

◆ o_threshold

const float o_threshold = 8.8721679688e+01
static

Referenced by expm1f().

◆ one

const float one = 1.0
static

Referenced by expm1f().

◆ Q1

const float Q1 = -3.3333212137e-2
static

Referenced by expm1f().

◆ Q2

const float Q2 = 1.5807170421e-3
static

Referenced by expm1f().

◆ tiny

const float tiny = 1.0e-30
static

Referenced by expm1f().