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

Functions

OLM_DLLEXPORT double log1p (double x)
 

Variables

static const double ln2_hi = 6.93147180369123816490e-01
 
static const double ln2_lo = 1.90821492927058770002e-10
 
static const double two54 = 1.80143985094819840000e+16
 
static const double Lp1 = 6.666666666666735130e-01
 
static const double Lp2 = 3.999999999940941908e-01
 
static const double Lp3 = 2.857142874366239149e-01
 
static const double Lp4 = 2.222219843214978396e-01
 
static const double Lp5 = 1.818357216161805012e-01
 
static const double Lp6 = 1.531383769920937332e-01
 
static const double Lp7 = 1.479819860511658591e-01
 
static const double zero = 0.0
 

Function Documentation

◆ log1p()

OLM_DLLEXPORT double log1p ( double  x)

References GET_HIGH_WORD, k, ln2_hi, ln2_lo, Lp1, Lp2, Lp3, Lp4, Lp5, Lp6, Lp7, R, s, SET_HIGH_WORD, STRICT_ASSIGN, two54, u, z, and zero.

Referenced by __ieee754_acosh(), __ieee754_atanh(), asinh(), and log1p_test().

Here is the caller graph for this function:

Variable Documentation

◆ ln2_hi

const double ln2_hi = 6.93147180369123816490e-01
static

Referenced by log1p().

◆ ln2_lo

const double ln2_lo = 1.90821492927058770002e-10
static

Referenced by log1p().

◆ Lp1

const double Lp1 = 6.666666666666735130e-01
static

Referenced by log1p().

◆ Lp2

const double Lp2 = 3.999999999940941908e-01
static

Referenced by log1p().

◆ Lp3

const double Lp3 = 2.857142874366239149e-01
static

Referenced by log1p().

◆ Lp4

const double Lp4 = 2.222219843214978396e-01
static

Referenced by log1p().

◆ Lp5

const double Lp5 = 1.818357216161805012e-01
static

Referenced by log1p().

◆ Lp6

const double Lp6 = 1.531383769920937332e-01
static

Referenced by log1p().

◆ Lp7

const double Lp7 = 1.479819860511658591e-01
static

Referenced by log1p().

◆ two54

const double two54 = 1.80143985094819840000e+16
static

Referenced by log1p().

◆ zero

const double zero = 0.0
static

Referenced by log1p().