43#if !defined(DISABLE_PREDEFINED_UNITS) || \
44 defined(ENABLE_PREDEFINED_ANGULAR_VELOCITY_UNITS)
45UNIT_ADD(angular_velocity, radians_per_second, radians_per_second, rad_per_s,
49UNIT_ADD(angular_velocity, turns_per_second, turns_per_second, tps,
52 unit<
std::ratio<2, 60>, radians_per_second,
std::ratio<1>>)
53UNIT_ADD(angular_velocity, milliarcseconds_per_year, milliarcseconds_per_year,
59using namespace angular_velocity;
#define UNIT_ADD_CATEGORY_TRAIT(unitCategory)
Macro to create the is_category_unit type trait.
Definition: base.h:381
typename units::detail::inverse_impl< U >::type inverse
represents the inverse unit type of class U.
Definition: base.h:1145
typename units::detail::compound_impl< U, Us... >::type compound_unit
Represents a unit type made up from other units.
Definition: base.h:1445
Definition: BFloat16.h:88
Unit Conversion Library namespace.
Definition: magnetic_flux.h:31
UNIT_ADD(moment_of_inertia, kilogram_square_meter, kilogram_square_meters, kg_sq_m, compound_unit< mass::kilograms, area::square_meters >) using namespace moment_of_inertia
degrees_per_second
Definition: angular_velocity.h:47
degrees
Definition: angle.h:43
compound_unit< angle::degrees, inverse< time::seconds > > rpm
Definition: angular_velocity.h:51
compound_unit< angle::degrees, inverse< time::seconds > > revolutions_per_minute
Definition: angular_velocity.h:51
deg_per_s
Definition: angular_velocity.h:47
Class representing SI base unit types.
Definition: base.h:769
Type representing an arbitrary unit.
Definition: base.h:895