#include <boost/units/static_constant.hpp>
#include <boost/units/make_scaled_unit.hpp>
#include <boost/units/systems/si/dimensionless.hpp>
Go to the source code of this file.
|
| boost::units::si::BOOST_UNITS_METRIC_PREFIX (-24, yocto) |
|
| boost::units::si::BOOST_UNITS_METRIC_PREFIX (-21, zepto) |
|
| boost::units::si::BOOST_UNITS_METRIC_PREFIX (-18, atto) |
|
| boost::units::si::BOOST_UNITS_METRIC_PREFIX (-15, femto) |
|
| boost::units::si::BOOST_UNITS_METRIC_PREFIX (-12, pico) |
|
| boost::units::si::BOOST_UNITS_METRIC_PREFIX (-9, nano) |
|
| boost::units::si::BOOST_UNITS_METRIC_PREFIX (-6, micro) |
|
| boost::units::si::BOOST_UNITS_METRIC_PREFIX (-3, milli) |
|
| boost::units::si::BOOST_UNITS_METRIC_PREFIX (-2, centi) |
|
| boost::units::si::BOOST_UNITS_METRIC_PREFIX (-1, deci) |
|
| boost::units::si::BOOST_UNITS_METRIC_PREFIX (1, deka) |
|
| boost::units::si::BOOST_UNITS_METRIC_PREFIX (2, hecto) |
|
| boost::units::si::BOOST_UNITS_METRIC_PREFIX (3, kilo) |
|
| boost::units::si::BOOST_UNITS_METRIC_PREFIX (6, mega) |
|
| boost::units::si::BOOST_UNITS_METRIC_PREFIX (9, giga) |
|
| boost::units::si::BOOST_UNITS_METRIC_PREFIX (12, tera) |
|
| boost::units::si::BOOST_UNITS_METRIC_PREFIX (15, peta) |
|
| boost::units::si::BOOST_UNITS_METRIC_PREFIX (18, exa) |
|
| boost::units::si::BOOST_UNITS_METRIC_PREFIX (21, zetta) |
|
| boost::units::si::BOOST_UNITS_METRIC_PREFIX (24, yotta) |
|
◆ BOOST_UNITS_METRIC_PREFIX
#define BOOST_UNITS_METRIC_PREFIX |
( |
|
exponent, |
|
|
|
name |
|
) |
| |
Value: typedef make_scaled_unit<dimensionless, scale<10, static_rational<exponent> > >
::type name ## _type;\
BOOST_UNITS_STATIC_CONSTANT(name, name ## _type)
Definition at line 25 of file prefixes.hpp.