Anklang 0.3.0-460-gc4ef46ba
ASE — Anklang Sound Engine (C++)

« « « Anklang Documentation
Loading...
Searching...
No Matches
Classes | Namespaces | Functions | Variables
mathutils.hh File Reference
#include <ase/cxxaux.hh>

Go to the source code of this file.

Classes

union  Ase::FloatIEEE754
 
struct  Ase::FloatIEEE754.mpn
 

Namespaces

namespace  Ase
 The Anklang C++ API namespace.
 

Functions

int Ase::irintf (float f)
 
double Ase::force_double (double d)
 Force number into double precision floating point format, even with -ffast-math.
 
float Ase::force_float (float f)
 Force number into single precision floating point format, even with -ffast-math.
 
float Ase::fast_exp2 (float x)
 
float Ase::fast_log2 (float x)
 
float Ase::value2hz (float x)
 Convert synthesizer value (Voltage) to Hertz.
 
float Ase::hz2value (float x)
 Convert Hertz to synthesizer value (Voltage).
 

Variables

constexpr const double Ase::DOUBLE_EPSILON
 Double round-off error at 1.0, equals 2^-53.
 

Class Documentation

◆ Ase::FloatIEEE754.mpn

struct Ase::FloatIEEE754.mpn

Definition at line 34 of file mathutils.hh.

Class Members
uint biased_exponent: 8
uint mantissa: 23
uint sign: 1