LMMS
Loading...
Searching...
No Matches
fixed_point.h File Reference

Go to the source code of this file.

Classes

class  dsp::fixed_point< T, FracBits >

Namespaces

namespace  dsp

Typedefs

typedef fixed_point< unsigned long long int, 24 > dsp::wpos
 wave position (unsigned 64-bit int including 24-bit fractional part)

Functions

uint32_t dsp::shr (uint32_t v, int bits=1)
int32_t dsp::shr (int32_t v, int bits=1)
uint64_t dsp::shr (uint64_t v, int bits=1)
int64_t dsp::shr (int64_t v, int bits=1)
float dsp::shr (float v, int bits=1)
double dsp::shr (double v, int bits=1)
template<class T, int FracBits>
dsp::shr (T v, int bits=1)
template<class T, int FractBits>
fixed_point< T, FractBits > dsp::operator* (int v, fixed_point< T, FractBits > v2)