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< 16 > Struct Template Reference

#include <fixedtraits.h>

Static Public Attributes

static const uint32_t fixed_resolution_shift = 16
 
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 = 205887
 
static const int64_t internal_two_pi = 411775
 
static const int64_t internal_half_pi = 102944
 
static const int64_t internal_quarter_pi = 51472
 
static const int64_t log_two_power_n_reversed [47]
 
static const int64_t log_one_plus_two_power_minus_n [16]
 
static const int64_t log_one_over_one_minus_two_power_minus_n [16]
 
static const int64_t arctantab [32]
 

Detailed Description

template<>
struct FixedTraits< 16 >

Definition at line 48 of file fixedtraits.h.

Member Data Documentation

◆ arctantab

const int64_t FixedTraits< 16 >::arctantab
static

Definition at line 60 of file fixedtraits.h.

◆ fixed_resolution

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

Definition at line 51 of file fixedtraits.h.

◆ fixed_resolution_shift

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

Definition at line 50 of file fixedtraits.h.

◆ internal_half_pi

const int64_t FixedTraits< 16 >::internal_half_pi = 102944
static

Definition at line 55 of file fixedtraits.h.

◆ internal_pi

const int64_t FixedTraits< 16 >::internal_pi = 205887
static

Definition at line 53 of file fixedtraits.h.

◆ internal_quarter_pi

const int64_t FixedTraits< 16 >::internal_quarter_pi = 51472
static

Definition at line 56 of file fixedtraits.h.

◆ internal_two_pi

const int64_t FixedTraits< 16 >::internal_two_pi = 411775
static

Definition at line 54 of file fixedtraits.h.

◆ log_one_over_one_minus_two_power_minus_n

const int64_t FixedTraits< 16 >::log_one_over_one_minus_two_power_minus_n
static
Initial value:
= {
45426LL,
18854LL,
8751LL,
4230LL,
2081LL,
1032LL,
514LL,
257LL,
128LL,
64LL,
32LL,
16LL,
8LL,
4LL,
2LL,
1LL
}

Definition at line 59 of file fixedtraits.h.

◆ log_one_plus_two_power_minus_n

const int64_t FixedTraits< 16 >::log_one_plus_two_power_minus_n
static
Initial value:
= {
26573LL,
14624LL,
7719LL,
3973LL,
2017LL,
1016LL,
510LL,
256LL,
128LL,
64LL,
32LL,
16LL,
8LL,
4LL,
2LL,
1LL
}

Definition at line 58 of file fixedtraits.h.

◆ log_two_power_n_reversed

const int64_t FixedTraits< 16 >::log_two_power_n_reversed
static

Definition at line 57 of file fixedtraits.h.

◆ max_power

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

Definition at line 52 of file fixedtraits.h.


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