Unit Conversion and Dimensional Analysis Library 3.6.1
A compile-time, header-only C++23 dimensional-analysis library
Loading...
Searching...
No Matches
Decimal Prefixes

Defines the decimal (metric) prefix manipulators from atto to exa. More...

Collaboration diagram for Decimal Prefixes:
template<ConversionFactorType Cf>
using units::atto = typename detail::prefix<std::atto,Cf>::type
template<ConversionFactorType Cf>
using units::femto = typename detail::prefix<std::femto,Cf>::type
 < Represents the type of class Cf with the metric 'atto' prefix appended.
template<ConversionFactorType Cf>
using units::pico = typename detail::prefix<std::pico,Cf>::type
 < Represents the type of class Cf with the metric 'femto' prefix appended.
template<ConversionFactorType Cf>
using units::nano = typename detail::prefix<std::nano,Cf>::type
 < Represents the type of class Cf with the metric 'pico' prefix appended.
template<ConversionFactorType Cf>
using units::micro = typename detail::prefix<std::micro,Cf>::type
 < Represents the type of class Cf with the metric 'nano' prefix appended.
template<ConversionFactorType Cf>
using units::milli = typename detail::prefix<std::milli,Cf>::type
 < Represents the type of class Cf with the metric 'micro' prefix appended.
template<ConversionFactorType Cf>
using units::centi = typename detail::prefix<std::centi,Cf>::type
 < Represents the type of class Cf with the metric 'milli' prefix appended.
template<ConversionFactorType Cf>
using units::deci = typename detail::prefix<std::deci,Cf>::type
 < Represents the type of class Cf with the metric 'centi' prefix appended.
template<ConversionFactorType Cf>
using units::deca = typename detail::prefix<std::deca,Cf>::type
 < Represents the type of class Cf with the metric 'deci' prefix appended.
template<ConversionFactorType Cf>
using units::hecto = typename detail::prefix<std::hecto,Cf>::type
 < Represents the type of class Cf with the metric 'deca' prefix appended.
template<ConversionFactorType Cf>
using units::kilo = typename detail::prefix<std::kilo,Cf>::type
 < Represents the type of class Cf with the metric 'hecto' prefix appended.
template<ConversionFactorType Cf>
using units::mega = typename detail::prefix<std::mega,Cf>::type
 < Represents the type of class Cf with the metric 'kilo' prefix appended.
template<ConversionFactorType Cf>
using units::giga = typename detail::prefix<std::giga,Cf>::type
 < Represents the type of class Cf with the metric 'mega' prefix appended.
template<ConversionFactorType Cf>
using units::tera = typename detail::prefix<std::tera,Cf>::type
 < Represents the type of class Cf with the metric 'giga' prefix appended.
template<ConversionFactorType Cf>
using units::peta = typename detail::prefix<std::peta,Cf>::type
 < Represents the type of class Cf with the metric 'tera' prefix appended.
template<ConversionFactorType Cf>
using units::exa = typename detail::prefix<std::exa, Cf>::type
 < Represents the type of class Cf with the metric 'peta' prefix appended.

Detailed Description

Defines the decimal (metric) prefix manipulators from atto to exa.

Typedef Documentation

◆ centi

template<ConversionFactorType Cf>
using units::centi = typename detail::prefix<std::centi,Cf>::type

< Represents the type of class Cf with the metric 'milli' prefix appended.

E.g. milli<meters> represents meters*10^-3

Template Parameters
Cfunit type to apply the prefix to.

◆ deca

template<ConversionFactorType Cf>
using units::deca = typename detail::prefix<std::deca,Cf>::type

< Represents the type of class Cf with the metric 'deci' prefix appended.

E.g. deci<meters> represents meters*10^-1

Template Parameters
Cfunit type to apply the prefix to.

◆ deci

template<ConversionFactorType Cf>
using units::deci = typename detail::prefix<std::deci,Cf>::type

< Represents the type of class Cf with the metric 'centi' prefix appended.

E.g. centi<meters> represents meters*10^-2

Template Parameters
Cfunit type to apply the prefix to.

◆ exa

template<ConversionFactorType Cf>
using units::exa = typename detail::prefix<std::exa, Cf>::type

< Represents the type of class Cf with the metric 'peta' prefix appended.

E.g. peta<meters> represents meters*10^15

Template Parameters
Cfunit type to apply the prefix to.

◆ femto

template<ConversionFactorType Cf>
using units::femto = typename detail::prefix<std::femto,Cf>::type

< Represents the type of class Cf with the metric 'atto' prefix appended.

E.g. atto<meters> represents meters*10^-18

Template Parameters
Cfunit type to apply the prefix to.

◆ giga

template<ConversionFactorType Cf>
using units::giga = typename detail::prefix<std::giga,Cf>::type

< Represents the type of class Cf with the metric 'mega' prefix appended.

E.g. mega<meters> represents meters*10^6

Template Parameters
Cfunit type to apply the prefix to.

◆ hecto

template<ConversionFactorType Cf>
using units::hecto = typename detail::prefix<std::hecto,Cf>::type

< Represents the type of class Cf with the metric 'deca' prefix appended.

E.g. deca<meters> represents meters*10^1

Template Parameters
Cfunit type to apply the prefix to.

◆ kilo

template<ConversionFactorType Cf>
using units::kilo = typename detail::prefix<std::kilo,Cf>::type

< Represents the type of class Cf with the metric 'hecto' prefix appended.

E.g. hecto<meters> represents meters*10^2

Template Parameters
Cfunit type to apply the prefix to.

◆ mega

template<ConversionFactorType Cf>
using units::mega = typename detail::prefix<std::mega,Cf>::type

< Represents the type of class Cf with the metric 'kilo' prefix appended.

E.g. kilo<meters> represents meters*10^3

Template Parameters
Cfunit type to apply the prefix to.

◆ micro

template<ConversionFactorType Cf>
using units::micro = typename detail::prefix<std::micro,Cf>::type

< Represents the type of class Cf with the metric 'nano' prefix appended.

E.g. nano<meters> represents meters*10^-9

Template Parameters
Cfunit type to apply the prefix to.

◆ milli

template<ConversionFactorType Cf>
using units::milli = typename detail::prefix<std::milli,Cf>::type

< Represents the type of class Cf with the metric 'micro' prefix appended.

E.g. micro<meters> represents meters*10^-6

Template Parameters
Cfunit type to apply the prefix to.

◆ nano

template<ConversionFactorType Cf>
using units::nano = typename detail::prefix<std::nano,Cf>::type

< Represents the type of class Cf with the metric 'pico' prefix appended.

E.g. pico<meters> represents meters*10^-12

Template Parameters
Cfunit type to apply the prefix to.

◆ peta

template<ConversionFactorType Cf>
using units::peta = typename detail::prefix<std::peta,Cf>::type

< Represents the type of class Cf with the metric 'tera' prefix appended.

E.g. tera<meters> represents meters*10^12

Template Parameters
Cfunit type to apply the prefix to.

◆ pico

template<ConversionFactorType Cf>
using units::pico = typename detail::prefix<std::pico,Cf>::type

< Represents the type of class Cf with the metric 'femto' prefix appended.

E.g. femto<meters> represents meters*10^-15

Template Parameters
Cfunit type to apply the prefix to.

◆ tera

template<ConversionFactorType Cf>
using units::tera = typename detail::prefix<std::tera,Cf>::type

< Represents the type of class Cf with the metric 'giga' prefix appended.

E.g. giga<meters> represents meters*10^9

Template Parameters
Cfunit type to apply the prefix to.