|
Anklang-0.3.0.dev551+gad1415e2 anklang-0.3.0.dev551+gad1415e2
ASE — Anklang Sound Engine (C++)
« « « Anklang Documentation |
#include <ase/cxxaux.hh>Go to the source code of this file.
Classes | |
| union | Ase::FloatIEEE754 |
| Union to compartmentalize an IEEE-754 float. More... | |
| struct | Ase::FloatIEEE754.mpn |
Namespaces | |
| namespace | Ase |
| The Anklang C++ API namespace. | |
Functions | |
| int | Ase::irintf (float f) |
Round float to int, using round-to-nearest Fast version of f < 0 ? int (f - 0.5) : int (f + 0.5). | |
| 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) |
Fast approximation of 2 raised to the power of x. | |
| float | Ase::fast_log2 (float x) |
| Fast approximation of logarithm to base 2. | |
| 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. | |
| struct Ase::FloatIEEE754.mpn |
Definition at line 34 of file mathutils.hh.
| Class Members | ||
|---|---|---|
| uint | biased_exponent: 8 | |
| uint | mantissa: 23 | |
| uint | sign: 1 | |