frequency: Standard Frequency Type Aliases

Standard integer-based frequency types using int64_t representation. More...

Typedefs

using freq::millihertz = frequency< int64_t, std::milli >
 Frequency with 0.001 Hz (millihertz) precision.
 
using freq::hertz = frequency< int64_t >
 Frequency with 1 Hz precision.
 
using freq::kilohertz = frequency< int64_t, std::kilo >
 Frequency with 1000 Hz (kilohertz) precision.
 
using freq::megahertz = frequency< int64_t, std::mega >
 Frequency with 1,000,000 Hz (megahertz) precision.
 
using freq::gigahertz = frequency< int64_t, std::giga >
 Frequency with 1,000,000,000 Hz (gigahertz) precision.
 
using freq::terahertz = frequency< int64_t, std::tera >
 Frequency with 1,000,000,000,000 Hz (terahertz) precision.
 

Standard integer-based frequency types using int64_t representation.

For floating-point representations, use frequency<double, Precision>.

frequency< int64_t, std::tera > terahertz

Frequency with 1,000,000,000,000 Hz (terahertz) precision.

frequency< int64_t, std::mega > megahertz

Frequency with 1,000,000 Hz (megahertz) precision.

frequency< int64_t, std::kilo > kilohertz

Frequency with 1000 Hz (kilohertz) precision.

frequency< int64_t, std::giga > gigahertz

Frequency with 1,000,000,000 Hz (gigahertz) precision.

frequency< int64_t > hertz

Frequency with 1 Hz precision.

constexpr ToFreq frequency_cast(const frequency< Rep, Precision > &f)

Converts a frequency to a different precision or representation.

◆ gigahertz

Frequency with 1,000,000,000 Hz (gigahertz) precision.

Definition at line 1096 of file frequency.hpp.

◆ hertz

◆ kilohertz

Frequency with 1000 Hz (kilohertz) precision.

Definition at line 1092 of file frequency.hpp.

◆ megahertz

Frequency with 1,000,000 Hz (megahertz) precision.

Definition at line 1094 of file frequency.hpp.

◆ millihertz

Frequency with 0.001 Hz (millihertz) precision.

Definition at line 1088 of file frequency.hpp.

◆ terahertz

Frequency with 1,000,000,000,000 Hz (terahertz) precision.

Definition at line 1098 of file frequency.hpp.