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

Macros

#define TBLBITS   4
 
#define TBLSIZE   (1 << TBLBITS)
 

Functions

OLM_DLLEXPORT float exp2f (float x)
 

Variables

static const float huge = 0x1p100f
 
static const float redux = 0x1.8p23f / TBLSIZE
 
static const float P1 = 0x1.62e430p-1f
 
static const float P2 = 0x1.ebfbe0p-3f
 
static const float P3 = 0x1.c6b348p-5f
 
static const float P4 = 0x1.3b2c9cp-7f
 
static volatile float twom100 = 0x1p-100f
 
static const double exp2ft [TBLSIZE]
 

Macro Definition Documentation

◆ TBLBITS

#define TBLBITS   4

◆ TBLSIZE

#define TBLSIZE   (1 << TBLBITS)

Function Documentation

◆ exp2f()

OLM_DLLEXPORT float exp2f ( float  x)

Variable Documentation

◆ exp2ft

const double exp2ft[TBLSIZE]
static
Initial value:
= {
0x1.6a09e667f3bcdp-1,
0x1.7a11473eb0187p-1,
0x1.8ace5422aa0dbp-1,
0x1.9c49182a3f090p-1,
0x1.ae89f995ad3adp-1,
0x1.c199bdd85529cp-1,
0x1.d5818dcfba487p-1,
0x1.ea4afa2a490dap-1,
0x1.0000000000000p+0,
0x1.0b5586cf9890fp+0,
0x1.172b83c7d517bp+0,
0x1.2387a6e756238p+0,
0x1.306fe0a31b715p+0,
0x1.3dea64c123422p+0,
0x1.4bfdad5362a27p+0,
0x1.5ab07dd485429p+0,
}

Referenced by exp2f().

◆ huge

const float huge = 0x1p100f
static

Referenced by exp2f().

◆ P1

const float P1 = 0x1.62e430p-1f
static

Referenced by exp2f().

◆ P2

const float P2 = 0x1.ebfbe0p-3f
static

Referenced by exp2f().

◆ P3

const float P3 = 0x1.c6b348p-5f
static

Referenced by exp2f().

◆ P4

const float P4 = 0x1.3b2c9cp-7f
static

Referenced by exp2f().

◆ redux

const float redux = 0x1.8p23f / TBLSIZE
static

Referenced by exp2f().

◆ twom100

volatile float twom100 = 0x1p-100f
static

Referenced by exp2f().