Namespaces | |
fp_compare | |
Functions | |
UHD_INLINE bool | frequencies_are_equal (double lhs, double rhs) |
template<typename IntegerType > | |
IntegerType | lcm (IntegerType x, IntegerType y) |
Portable version of lcm() across Boost versions. More... | |
template<typename IntegerType > | |
IntegerType | gcd (IntegerType x, IntegerType y) |
Portable version of gcd() across Boost versions. More... | |
Contains useful mathematical functions, classes, and constants, which should be used in UHD when portable / std
options are not available.
UHD_INLINE bool uhd::math::frequencies_are_equal | ( | double | lhs, |
double | rhs | ||
) |
|
inline |
Portable version of gcd() across Boost versions.
|
inline |
Portable version of lcm() across Boost versions.