#include "Assert.hxx"
#include <cmath>
Go to the source code of this file.
Defines | |
#define | CLAM_ACTIVATE_FAST_ROUNDING |
#define | CLAM_DEACTIVATE_FAST_ROUNDING |
Functions | |
int | Chop (float a) |
int | Round (float a) |
#define CLAM_ACTIVATE_FAST_ROUNDING |
Definition at line 180 of file FastRounding.hxx.
#define CLAM_DEACTIVATE_FAST_ROUNDING |
Definition at line 181 of file FastRounding.hxx.
int Chop | ( | float | a | ) | [inline] |
Definition at line 183 of file FastRounding.hxx.
int Round | ( | float | a | ) | [inline] |
Definition at line 188 of file FastRounding.hxx.
Referenced by CLAM::SpectralDescriptors::ComputeLowFreqEnergyRelation(), CLAM::SpectralNotch::Do(), CLAM::SpectralDelay::Do(), CLAM::Note::GetNoteNumber(), CLAM::Spectrum::IndexFromFreq(), and CLAM::Audio::ResizeToEndTime().