SDRAngel  4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
Static Public Attributes | List of all members
FixedTraits< 28 > Struct Template Reference

#include <fixedtraits.h>

Static Public Attributes

static const uint32_t fixed_resolution_shift = 28
 1.0 representation. 28 is the highest power of two that can represent 9.99999... safely on 64 bits internally More...
 
static const int64_t fixed_resolution = 1LL << fixed_resolution_shift
 
static const int32_t max_power = 63 - fixed_resolution_shift
 
static const int64_t internal_pi = 0x3243f6a8
 
static const int64_t internal_two_pi = 0x6487ed51
 
static const int64_t internal_half_pi = 0x1921fb54
 
static const int64_t internal_quarter_pi = 0xc90fdaa
 
static const int64_t log_two_power_n_reversed [35]
 
static const int64_t log_one_plus_two_power_minus_n [28]
 
static const int64_t log_one_over_one_minus_two_power_minus_n [28]
 
static const int64_t arctantab [32]
 

Detailed Description

template<>
struct FixedTraits< 28 >

Definition at line 32 of file fixedtraits.h.

Member Data Documentation

◆ arctantab

const int64_t FixedTraits< 28 >::arctantab
static

Definition at line 44 of file fixedtraits.h.

◆ fixed_resolution

const int64_t FixedTraits< 28 >::fixed_resolution = 1LL << fixed_resolution_shift
static

Definition at line 35 of file fixedtraits.h.

◆ fixed_resolution_shift

const uint32_t FixedTraits< 28 >::fixed_resolution_shift = 28
static

1.0 representation. 28 is the highest power of two that can represent 9.99999... safely on 64 bits internally

Definition at line 34 of file fixedtraits.h.

◆ internal_half_pi

const int64_t FixedTraits< 28 >::internal_half_pi = 0x1921fb54
static

Definition at line 39 of file fixedtraits.h.

◆ internal_pi

const int64_t FixedTraits< 28 >::internal_pi = 0x3243f6a8
static

Definition at line 37 of file fixedtraits.h.

◆ internal_quarter_pi

const int64_t FixedTraits< 28 >::internal_quarter_pi = 0xc90fdaa
static

Definition at line 40 of file fixedtraits.h.

◆ internal_two_pi

const int64_t FixedTraits< 28 >::internal_two_pi = 0x6487ed51
static

Definition at line 38 of file fixedtraits.h.

◆ log_one_over_one_minus_two_power_minus_n

const int64_t FixedTraits< 28 >::log_one_over_one_minus_two_power_minus_n
static
Initial value:
= {
0xB172180LL,
0x49A5884LL,
0x222F1D0LL,
0x108598BLL,
0x820AECLL,
0x408159LL,
0x20202BLL,
0x100805LL,
0x80201LL,
0x40080LL,
0x20020LL,
0x10008LL,
0x8002LL,
0x4001LL,
0x2000LL,
0x1000LL,
0x800LL,
0x400LL,
0x200LL,
0x100LL,
0x80LL,
0x40LL,
0x20LL,
0x10LL,
0x8LL,
0x4LL,
0x2LL,
0x1LL
}

Definition at line 43 of file fixedtraits.h.

◆ log_one_plus_two_power_minus_n

const int64_t FixedTraits< 28 >::log_one_plus_two_power_minus_n
static
Initial value:
= {
0x67CC8FBLL,
0x391FEF9LL,
0x1E27077LL,
0xF85186LL,
0x7E0A6CLL,
0x3F8151LL,
0x1FE02ALL,
0xFF805LL,
0x7FE01LL,
0x3FF80LL,
0x1FFE0LL,
0xFFF8LL,
0x7FFELL,
0x4000LL,
0x2000LL,
0x1000LL,
0x800LL,
0x400LL,
0x200LL,
0x100LL,
0x80LL,
0x40LL,
0x20LL,
0x10LL,
0x8LL,
0x4LL,
0x2LL,
0x1LL
}

Definition at line 42 of file fixedtraits.h.

◆ log_two_power_n_reversed

const int64_t FixedTraits< 28 >::log_two_power_n_reversed
static

Definition at line 41 of file fixedtraits.h.

◆ max_power

const int32_t FixedTraits< 28 >::max_power = 63 - fixed_resolution_shift
static

Definition at line 36 of file fixedtraits.h.


The documentation for this struct was generated from the following files: