LIBDSP Version 4.1.9
LIBDSP Software Library
Loading...
Searching...
No Matches
tpt_math_config.h File Reference
This graph shows which files directly or indirectly include this file:

Data Structures

struct  exp2f_data
struct  logf_data
struct  powf_log2_data

Macros

#define WANT_ROUNDING   1
#define TOINT_INTRINSICS   0
#define IEEE_754_2008_SNAN   1
#define HIDDEN
#define EXP2F_TABLE_BITS   5
#define EXP2F_POLY_ORDER   3
#define LOGF_TABLE_BITS   4
#define LOGF_POLY_ORDER   4
#define POWF_LOG2_TABLE_BITS   4
#define POWF_LOG2_POLY_ORDER   5
#define POWF_SCALE_BITS   0
#define POWF_SCALE   ((f64_t)(1 << POWF_SCALE_BITS))
#define predict_true(x)
#define predict_false(x)

Functions

static uint32_t asuint (f32_t f)
static f32_t asfloat (uint32_t i)
static uint64_t asuint64 (f64_t f)
static f64_t asdouble (uint64_t i)
static int issignalingf_inline (f32_t x)
static f32_t eval_as_float (f32_t x)
static f64_t eval_as_double (f64_t x)
HIDDEN f32_t __math_oflowf (uint32_t)
HIDDEN f32_t __math_uflowf (uint32_t)
HIDDEN f32_t __math_divzerof (uint32_t)
HIDDEN f64_t __math_divzero (uint32_t)
HIDDEN f32_t __math_invalidf (f32_t)

Variables

const struct exp2f_data HIDDEN

Macro Definition Documentation

◆ EXP2F_POLY_ORDER

#define EXP2F_POLY_ORDER   3

◆ EXP2F_TABLE_BITS

#define EXP2F_TABLE_BITS   5

◆ HIDDEN

const struct powf_log2_data HIDDEN

◆ IEEE_754_2008_SNAN

#define IEEE_754_2008_SNAN   1

◆ LOGF_POLY_ORDER

#define LOGF_POLY_ORDER   4

◆ LOGF_TABLE_BITS

#define LOGF_TABLE_BITS   4

◆ POWF_LOG2_POLY_ORDER

#define POWF_LOG2_POLY_ORDER   5

◆ POWF_LOG2_TABLE_BITS

#define POWF_LOG2_TABLE_BITS   4

◆ POWF_SCALE

#define POWF_SCALE   ((f64_t)(1 << POWF_SCALE_BITS))

◆ POWF_SCALE_BITS

#define POWF_SCALE_BITS   0

◆ predict_false

#define predict_false ( x)
Value:
(x)

◆ predict_true

#define predict_true ( x)
Value:
(x)

◆ TOINT_INTRINSICS

#define TOINT_INTRINSICS   0

◆ WANT_ROUNDING

#define WANT_ROUNDING   1

Function Documentation

◆ __math_divzero()

HIDDEN f64_t __math_divzero ( uint32_t )

◆ __math_divzerof()

HIDDEN f32_t __math_divzerof ( uint32_t )

◆ __math_invalidf()

HIDDEN f32_t __math_invalidf ( f32_t )

◆ __math_oflowf()

HIDDEN f32_t __math_oflowf ( uint32_t )

◆ __math_uflowf()

HIDDEN f32_t __math_uflowf ( uint32_t )

◆ asdouble()

f64_t asdouble ( uint64_t i)
inlinestatic

◆ asfloat()

f32_t asfloat ( uint32_t i)
inlinestatic

◆ asuint()

uint32_t asuint ( f32_t f)
inlinestatic

◆ asuint64()

uint64_t asuint64 ( f64_t f)
inlinestatic

◆ eval_as_double()

f64_t eval_as_double ( f64_t x)
inlinestatic

◆ eval_as_float()

f32_t eval_as_float ( f32_t x)
inlinestatic

◆ issignalingf_inline()

int issignalingf_inline ( f32_t x)
inlinestatic

Variable Documentation

◆ HIDDEN

const struct powf_log2_data HIDDEN