|
electro 0.3.0
Type-safe electrical units library modeled after std::chrono
|
A dimensionless logarithmic ratio, measured in decibels. More...
#include <electro/decibel.hpp>
Static Public Attributes | |
| static constexpr const char * | symbol = "dB" |
A dimensionless logarithmic ratio, measured in decibels.
This is an ordinary electro::quantity unit: gains add, subtract, negate and scale by a scalar, exactly as a std::chrono::duration does. Cascading two amplifiers adds their gains; doubling a gain squares the underlying ratio.
Definition at line 74 of file decibel.hpp.
Definition at line 75 of file decibel.hpp.
Referenced by electro::to_string().