cpp_robotics::unit::prefix::pfx_min
#include <unit_core.hpp>
Public Types
Name | |
---|---|
using Prefix< raw_num, raw_den > | prefix |
Public Attributes
Name | |
---|---|
constexpr uint32_t | raw_num |
constexpr uint32_t | raw_den |
Detailed Description
template <class P1 ,
class P2 >
struct cpp_robotics::unit::prefix::pfx_min;
Public Types Documentation
using prefix
using cpp_robotics::unit::prefix::pfx_min< P1, P2 >::prefix = Prefix<raw_num, raw_den>;
Public Attributes Documentation
variable raw_num
static constexpr uint32_t raw_num = std::min(P1::num * P2::den, P2::num * P1::den);
variable raw_den
static constexpr uint32_t raw_den = P1::den * P2::den;
Updated on 2024-05-28 at 06:55:40 +0000