|
Sound Byte Libs 0.5.1-340-gab5b79a
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
|
The numbers every layer reaches for. More...
The numbers every layer reaches for.
One definition of pi for the library, so no header carries its own literal (style guide: no magic numbers).
Definition in file constants.hpp.
#include <cstdint>Go to the source code of this file.
Namespaces | |
| namespace | sbl |
| Root namespace for all Sound Byte Libs code. | |
| namespace | sbl::math |
| Domain-neutral math: constants, clamp, interpolation. | |
Variables | |
| constexpr float | sbl::math::PI = 3.14159265358979323846f |
| constexpr float | sbl::math::TWO_PI = 2.0f * PI |
| constexpr float | sbl::math::HALF_PI = 0.5f * PI |
| constexpr float | sbl::math::MS_PER_SECOND = 1000.0f |
| constexpr float | sbl::math::SECONDS_PER_MS = 0.001f |
| constexpr float | sbl::math::SECONDS_PER_MINUTE = 60.0f |
| constexpr uint16_t | sbl::math::U16_MAX = 65535 |
| The full scale of a 16-bit unsigned blend factor. | |