units
Use physical dimensions at compile-time or run-time.
Typedefs | Functions | Variables
vnix::units::ldbl Namespace Reference

Extended-precision dimensions and units. More...

Typedefs

using dyndim = basic_dyndim< long double >
 Type of dimensioned value whose dimension is not known at compile-time. More...
 
using length = basic_statdim< length_dim.encode(), long double >
 Type for variable of dimension length. More...
 
using mass = basic_statdim< mass_dim.encode(), long double >
 Type for variable of dimension mass. More...
 
using time = basic_statdim< time_dim.encode(), long double >
 Type for variable of dimension time. More...
 
using charge = basic_statdim< charge_dim.encode(), long double >
 Type for variable of dimension charge. More...
 
using temperature = basic_statdim< temperature_dim.encode(), long double >
 Type for variable of dimension temperature. More...
 
using speed = decltype(m/s)
 
using acceleration = decltype(m/s/s)
 
using momentum = decltype(g *m/s)
 
using force = decltype(N/1)
 
using current = decltype(C/s)
 
using energy = decltype(J/1)
 
using power = decltype(W/1)
 
using area = decltype(m *m)
 
using volume = decltype(m *m *m)
 
using pressure = decltype(N/m/m)
 

Functions

constexpr auto operator""_m (long double v)
 Interpret a number, suffixed with '_m', as a (literal) number of meters. More...
 
constexpr auto operator""_cm (long double v)
 Interpret a number, suffixed with '_cm', as a (literal) number of centimeters. More...
 
constexpr auto operator""_mm (long double v)
 Interpret a number, suffixed with '_mm', as a (literal) number of millimeters. More...
 
constexpr auto operator""_mum (long double v)
 Interpret a number, suffixed with '_mum', as a (literal) number of micrometers. More...
 
constexpr auto operator""_nm (long double v)
 Interpret a number, suffixed with '_nm', as a (literal) number of nanometers. More...
 
constexpr auto operator""_pm (long double v)
 Interpret a number, suffixed with '_pm', as a (literal) number of picometers. More...
 
constexpr auto operator""_fm (long double v)
 Interpret a number, suffixed with '_fm', as a (literal) number of femtometers. More...
 
constexpr auto operator""_km (long double v)
 Interpret a number, suffixed with '_km', as a (literal) number of kilometers. More...
 
constexpr auto operator""_Mm (long double v)
 Interpret a number, suffixed with '_Mm', as a (literal) number of megameters. More...
 
constexpr auto operator""_g (long double v)
 Interpret a number, suffixed with '_g', as a (literal) number of grams. More...
 
constexpr auto operator""_mg (long double v)
 Interpret a number, suffixed with '_mg', as a (literal) number of milligrams. More...
 
constexpr auto operator""_mug (long double v)
 Interpret a number, suffixed with '_mug', as a (literal) number of micrograms. More...
 
constexpr auto operator""_ng (long double v)
 Interpret a number, suffixed with '_ng', as a (literal) number of nanograms. More...
 
constexpr auto operator""_pg (long double v)
 Interpret a number, suffixed with '_pg', as a (literal) number of picograms. More...
 
constexpr auto operator""_kg (long double v)
 Interpret a number, suffixed with '_kg', as a (literal) number of kilograms. More...
 
constexpr auto operator""_Mg (long double v)
 Interpret a number, suffixed with '_Mg', as a (literal) number of megagrams. More...
 
constexpr auto operator""_s (long double v)
 Interpret a number, suffixed with '_s', as a (literal) number of seconds. More...
 
constexpr auto operator""_ms (long double v)
 Interpret a number, suffixed with '_ms', as a (literal) number of milliseconds. More...
 
constexpr auto operator""_mus (long double v)
 Interpret a number, suffixed with '_mus', as a (literal) number of microseconds. More...
 
constexpr auto operator""_ns (long double v)
 Interpret a number, suffixed with '_ns', as a (literal) number of nanoseconds. More...
 
constexpr auto operator""_ps (long double v)
 Interpret a number, suffixed with '_ps', as a (literal) number of picoseconds. More...
 
constexpr auto operator""_fs (long double v)
 Interpret a number, suffixed with '_fs', as a (literal) number of femtoseconds. More...
 
constexpr auto operator""_C (long double v)
 Interpret a number, suffixed with '_C', as a (literal) number of coulombs. More...
 
constexpr auto operator""_mC (long double v)
 Interpret a number, suffixed with '_mC', as a (literal) number of millicoulombs. More...
 
constexpr auto operator""_muC (long double v)
 Interpret a number, suffixed with '_muC', as a (literal) number of microcoulombs. More...
 
constexpr auto operator""_nC (long double v)
 Interpret a number, suffixed with '_nC', as a (literal) number of nanocoulombs. More...
 
constexpr auto operator""_pC (long double v)
 Interpret a number, suffixed with '_pC', as a (literal) number of picocoulombs. More...
 
constexpr auto operator""_K (long double v)
 Interpret a number, suffixed with '_K', as a (literal) number of kelvins. More...
 
constexpr auto operator""_mK (long double v)
 Interpret a number, suffixed with '_mK', as a (literal) number of millikelvins. More...
 
constexpr auto operator""_muK (long double v)
 Interpret a number, suffixed with '_muK', as a (literal) number of microkelvins. More...
 
constexpr auto operator""_nK (long double v)
 Interpret a number, suffixed with '_nK', as a (literal) number of nanokelvins. More...
 
constexpr auto operator""_ft (long double v)
 Interpret a number, suffixed with '_ft', as a (literal) number of feet. More...
 
constexpr auto operator""_kft (long double v)
 Interpret a number, suffixed with '_kft', as a (literal) number of kilofeet. More...
 
constexpr auto operator""_in (long double v)
 Interpret a number, suffixed with '_in', as a (literal) number of inches. More...
 
constexpr auto operator""_yd (long double v)
 Interpret a number, suffixed with '_yd', as a (literal) number of yards. More...
 
constexpr auto operator""_mi (long double v)
 Interpret a number, suffixed with '_mi', as a (literal) number of miles. More...
 
constexpr auto operator""_N (long double v)
 Interpret a number, suffixed with '_N', as a (literal) number of newtons. More...
 
constexpr auto operator""_mN (long double v)
 Interpret a number, suffixed with '_mN', as a (literal) number of millinewtons. More...
 
constexpr auto operator""_muN (long double v)
 Interpret a number, suffixed with '_muN', as a (literal) number of micronewtons. More...
 
constexpr auto operator""_kN (long double v)
 Interpret a number, suffixed with '_kN', as a (literal) number of kilonewtons. More...
 
constexpr auto operator""_MN (long double v)
 Interpret a number, suffixed with '_MN', as a (literal) number of meganewtons. More...
 
constexpr auto operator""_dyn (long double v)
 Interpret a number, suffixed with '_dyn', as a (literal) number of dynes. More...
 
constexpr auto operator""_J (long double v)
 Interpret a number, suffixed with '_J', as a (literal) number of joules. More...
 
constexpr auto operator""_mJ (long double v)
 Interpret a number, suffixed with '_mJ', as a (literal) number of millijoules. More...
 
constexpr auto operator""_muJ (long double v)
 Interpret a number, suffixed with '_muJ', as a (literal) number of microjoules. More...
 
constexpr auto operator""_kJ (long double v)
 Interpret a number, suffixed with '_kJ', as a (literal) number of kilojoules. More...
 
constexpr auto operator""_MJ (long double v)
 Interpret a number, suffixed with '_MJ', as a (literal) number of megajoules. More...
 
constexpr auto operator""_GJ (long double v)
 Interpret a number, suffixed with '_GJ', as a (literal) number of gigajoules. More...
 
constexpr auto operator""_erg (long double v)
 Interpret a number, suffixed with '_erg', as a (literal) number of ergs. More...
 
constexpr auto operator""_W (long double v)
 Interpret a number, suffixed with '_W', as a (literal) number of watts. More...
 
constexpr auto operator""_mW (long double v)
 Interpret a number, suffixed with '_mW', as a (literal) number of milliwatts. More...
 
constexpr auto operator""_muW (long double v)
 Interpret a number, suffixed with '_muW', as a (literal) number of microwatts. More...
 
constexpr auto operator""_kW (long double v)
 Interpret a number, suffixed with '_kW', as a (literal) number of kilowatts. More...
 
constexpr auto operator""_MW (long double v)
 Interpret a number, suffixed with '_MW', as a (literal) number of megawatts. More...
 
constexpr auto operator""_GW (long double v)
 Interpret a number, suffixed with '_GW', as a (literal) number of gigawatts. More...
 
constexpr auto operator""_A (long double v)
 Interpret a number, suffixed with '_A', as a (literal) number of amperes. More...
 
constexpr auto operator""_mA (long double v)
 Interpret a number, suffixed with '_mA', as a (literal) number of milliamperes. More...
 
constexpr auto operator""_muA (long double v)
 Interpret a number, suffixed with '_muA', as a (literal) number of microamperes. More...
 

Variables

constexpr auto m = impl::m<long double>
 Constant-expression symbol for m. More...
 
constexpr auto cm = impl::cm<long double>
 Constant-expression symbol for cm. More...
 
constexpr auto mm = impl::mm<long double>
 Constant-expression symbol for mm. More...
 
constexpr auto mum = impl::mum<long double>
 Constant-expression symbol for mum. More...
 
constexpr auto nm = impl::nm<long double>
 Constant-expression symbol for nm. More...
 
constexpr auto pm = impl::pm<long double>
 Constant-expression symbol for pm. More...
 
constexpr auto fm = impl::fm<long double>
 Constant-expression symbol for fm. More...
 
constexpr auto km = impl::km<long double>
 Constant-expression symbol for km. More...
 
constexpr auto Mm = impl::Mm<long double>
 Constant-expression symbol for Mm. More...
 
constexpr auto g = impl::g<long double>
 Constant-expression symbol for g. More...
 
constexpr auto mg = impl::mg<long double>
 Constant-expression symbol for mg. More...
 
constexpr auto mug = impl::mug<long double>
 Constant-expression symbol for mug. More...
 
constexpr auto ng = impl::ng<long double>
 Constant-expression symbol for ng. More...
 
constexpr auto pg = impl::pg<long double>
 Constant-expression symbol for pg. More...
 
constexpr auto kg = impl::kg<long double>
 Constant-expression symbol for kg. More...
 
constexpr auto Mg = impl::Mg<long double>
 Constant-expression symbol for Mg. More...
 
constexpr auto s = impl::s<long double>
 Constant-expression symbol for s. More...
 
constexpr auto ms = impl::ms<long double>
 Constant-expression symbol for ms. More...
 
constexpr auto mus = impl::mus<long double>
 Constant-expression symbol for mus. More...
 
constexpr auto ns = impl::ns<long double>
 Constant-expression symbol for ns. More...
 
constexpr auto ps = impl::ps<long double>
 Constant-expression symbol for ps. More...
 
constexpr auto fs = impl::fs<long double>
 Constant-expression symbol for fs. More...
 
constexpr auto C = impl::C<long double>
 Constant-expression symbol for C. More...
 
constexpr auto mC = impl::mC<long double>
 Constant-expression symbol for mC. More...
 
constexpr auto muC = impl::muC<long double>
 Constant-expression symbol for muC. More...
 
constexpr auto nC = impl::nC<long double>
 Constant-expression symbol for nC. More...
 
constexpr auto pC = impl::pC<long double>
 Constant-expression symbol for pC. More...
 
constexpr auto K = impl::K<long double>
 Constant-expression symbol for K. More...
 
constexpr auto mK = impl::mK<long double>
 Constant-expression symbol for mK. More...
 
constexpr auto muK = impl::muK<long double>
 Constant-expression symbol for muK. More...
 
constexpr auto nK = impl::nK<long double>
 Constant-expression symbol for nK. More...
 
constexpr auto ft = impl::ft<long double>
 Constant-expression symbol for ft. More...
 
constexpr auto kft = impl::kft<long double>
 Constant-expression symbol for kft. More...
 
constexpr auto in = impl::in<long double>
 Constant-expression symbol for in. More...
 
constexpr auto yd = impl::yd<long double>
 Constant-expression symbol for yd. More...
 
constexpr auto mi = impl::mi<long double>
 Constant-expression symbol for mi. More...
 
constexpr auto N = impl::N<long double>
 Constant-expression symbol for N. More...
 
constexpr auto mN = impl::mN<long double>
 Constant-expression symbol for mN. More...
 
constexpr auto muN = impl::muN<long double>
 Constant-expression symbol for muN. More...
 
constexpr auto kN = impl::kN<long double>
 Constant-expression symbol for kN. More...
 
constexpr auto MN = impl::MN<long double>
 Constant-expression symbol for MN. More...
 
constexpr auto dyn = impl::dyn<long double>
 Constant-expression symbol for dyn. More...
 
constexpr auto J = impl::J<long double>
 Constant-expression symbol for J. More...
 
constexpr auto mJ = impl::mJ<long double>
 Constant-expression symbol for mJ. More...
 
constexpr auto muJ = impl::muJ<long double>
 Constant-expression symbol for muJ. More...
 
constexpr auto kJ = impl::kJ<long double>
 Constant-expression symbol for kJ. More...
 
constexpr auto MJ = impl::MJ<long double>
 Constant-expression symbol for MJ. More...
 
constexpr auto GJ = impl::GJ<long double>
 Constant-expression symbol for GJ. More...
 
constexpr auto erg = impl::erg<long double>
 Constant-expression symbol for erg. More...
 
constexpr auto W = impl::W<long double>
 Constant-expression symbol for W. More...
 
constexpr auto mW = impl::mW<long double>
 Constant-expression symbol for mW. More...
 
constexpr auto muW = impl::muW<long double>
 Constant-expression symbol for muW. More...
 
constexpr auto kW = impl::kW<long double>
 Constant-expression symbol for kW. More...
 
constexpr auto MW = impl::MW<long double>
 Constant-expression symbol for MW. More...
 
constexpr auto GW = impl::GW<long double>
 Constant-expression symbol for GW. More...
 
constexpr auto A = impl::A<long double>
 Constant-expression symbol for A. More...
 
constexpr auto mA = impl::mA<long double>
 Constant-expression symbol for mA. More...
 
constexpr auto muA = impl::muA<long double>
 Constant-expression symbol for muA. More...
 

Detailed Description

Extended-precision dimensions and units.

Typedef Documentation

using vnix::units::ldbl::acceleration = typedef decltype(m/s/s)

Definition at line 3320 of file units.hpp.

using vnix::units::ldbl::area = typedef decltype(m*m)

Definition at line 3326 of file units.hpp.

using vnix::units::ldbl::charge = typedef basic_statdim<charge_dim.encode(), long double>

Type for variable of dimension charge.

Definition at line 2999 of file units.hpp.

using vnix::units::ldbl::current = typedef decltype(C/s)

Definition at line 3323 of file units.hpp.

using vnix::units::ldbl::dyndim = typedef basic_dyndim<long double>

Type of dimensioned value whose dimension is not known at compile-time.

Definition at line 2780 of file units.hpp.

using vnix::units::ldbl::energy = typedef decltype(J/1)

Definition at line 3324 of file units.hpp.

using vnix::units::ldbl::force = typedef decltype(N/1)

Definition at line 3322 of file units.hpp.

using vnix::units::ldbl::length = typedef basic_statdim<length_dim.encode(), long double>

Type for variable of dimension length.

Definition at line 2792 of file units.hpp.

using vnix::units::ldbl::mass = typedef basic_statdim<mass_dim.encode(), long double>

Type for variable of dimension mass.

Definition at line 2876 of file units.hpp.

using vnix::units::ldbl::momentum = typedef decltype(g*m/s)

Definition at line 3321 of file units.hpp.

using vnix::units::ldbl::power = typedef decltype(W/1)

Definition at line 3325 of file units.hpp.

using vnix::units::ldbl::pressure = typedef decltype(N/m/m)

Definition at line 3328 of file units.hpp.

using vnix::units::ldbl::speed = typedef decltype(m/s)

Definition at line 3319 of file units.hpp.

using vnix::units::ldbl::temperature = typedef basic_statdim<temperature_dim.encode(), long double>

Type for variable of dimension temperature.

Definition at line 3047 of file units.hpp.

using vnix::units::ldbl::time = typedef basic_statdim<time_dim.encode(), long double>

Type for variable of dimension time.

Definition at line 2942 of file units.hpp.

using vnix::units::ldbl::volume = typedef decltype(m*m*m)

Definition at line 3327 of file units.hpp.

Function Documentation

constexpr auto vnix::units::ldbl::operator""_A ( long double  v)

Interpret a number, suffixed with '_A', as a (literal) number of amperes.

Definition at line 3297 of file units.hpp.

3297  {
3298  return v*A;
3299 }
constexpr amperes< T > A(T(1))
Template-variable for symbol for amperes.
constexpr auto vnix::units::ldbl::operator""_C ( long double  v)

Interpret a number, suffixed with '_C', as a (literal) number of coulombs.

Definition at line 2991 of file units.hpp.

2991  {
2992  return coulombs(v);
2993 }
constexpr auto coulombs(T v)
Produce dimensioned quantity from number of coulombs.
Definition: units.hpp:1449

Here is the call graph for this function:

constexpr auto vnix::units::ldbl::operator""_cm ( long double  v)

Interpret a number, suffixed with '_cm', as a (literal) number of centimeters.

Definition at line 2796 of file units.hpp.

2796  {
2797  return centimeters(v);
2798 }
constexpr auto centimeters(T v)
Produce dimensioned quantity from number of centimeters.
Definition: units.hpp:1323

Here is the call graph for this function:

constexpr auto vnix::units::ldbl::operator""_dyn ( long double  v)

Interpret a number, suffixed with '_dyn', as a (literal) number of dynes.

Definition at line 3171 of file units.hpp.

3171  {
3172  return v*dyn;
3173 }
constexpr dynes< T > dyn(T(1))
Template-variable for symbol for dynes.
constexpr auto vnix::units::ldbl::operator""_erg ( long double  v)

Interpret a number, suffixed with '_erg', as a (literal) number of ergs.

Definition at line 3234 of file units.hpp.

3234  {
3235  return v*erg;
3236 }
constexpr ergs< T > erg(T(1))
Template-variable for symbol for ergs.
constexpr auto vnix::units::ldbl::operator""_fm ( long double  v)

Interpret a number, suffixed with '_fm', as a (literal) number of femtometers.

Definition at line 2841 of file units.hpp.

2841  {
2842  return femtometers(v);
2843 }
constexpr auto femtometers(T v)
Produce dimensioned quantity from number of femtometers.
Definition: units.hpp:1353

Here is the call graph for this function:

constexpr auto vnix::units::ldbl::operator""_fs ( long double  v)

Interpret a number, suffixed with '_fs', as a (literal) number of femtoseconds.

Definition at line 2982 of file units.hpp.

2982  {
2983  return femtoseconds(v);
2984 }
constexpr auto femtoseconds(T v)
Produce dimensioned quantity from number of femtoseconds.
Definition: units.hpp:1443

Here is the call graph for this function:

constexpr auto vnix::units::ldbl::operator""_ft ( long double  v)

Interpret a number, suffixed with '_ft', as a (literal) number of feet.

Definition at line 3081 of file units.hpp.

3081  {
3082  return v*ft;
3083 }
constexpr feet< T > ft(T(1))
Template-variable for symbol for feet.
constexpr auto vnix::units::ldbl::operator""_g ( long double  v)

Interpret a number, suffixed with '_g', as a (literal) number of grams.

Definition at line 2868 of file units.hpp.

2868  {
2869  return grams(v);
2870 }
constexpr auto grams(T v)
Produce dimensioned quantity from number of grams.
Definition: units.hpp:1371

Here is the call graph for this function:

constexpr auto vnix::units::ldbl::operator""_GJ ( long double  v)

Interpret a number, suffixed with '_GJ', as a (literal) number of gigajoules.

Definition at line 3225 of file units.hpp.

3225  {
3226  return v*GJ;
3227 }
constexpr gigajoules< T > GJ(T(1))
Template-variable for symbol for gigajoules.
constexpr auto vnix::units::ldbl::operator""_GW ( long double  v)

Interpret a number, suffixed with '_GW', as a (literal) number of gigawatts.

Definition at line 3288 of file units.hpp.

3288  {
3289  return v*GW;
3290 }
constexpr gigawatts< T > GW(T(1))
Template-variable for symbol for gigawatts.
constexpr auto vnix::units::ldbl::operator""_in ( long double  v)

Interpret a number, suffixed with '_in', as a (literal) number of inches.

Definition at line 3099 of file units.hpp.

3099  {
3100  return v*in;
3101 }
constexpr inches< T > in(T(1))
Template-variable for symbol for inches.
constexpr auto vnix::units::ldbl::operator""_J ( long double  v)

Interpret a number, suffixed with '_J', as a (literal) number of joules.

Definition at line 3180 of file units.hpp.

3180  {
3181  return v*J;
3182 }
constexpr joules< T > J(T(1))
Template-variable for symbol for joules.
constexpr auto vnix::units::ldbl::operator""_K ( long double  v)

Interpret a number, suffixed with '_K', as a (literal) number of kelvins.

Definition at line 3039 of file units.hpp.

3039  {
3040  return kelvins(v);
3041 }
constexpr auto kelvins(T v)
Produce dimensioned quantity from number of kelvins.
Definition: units.hpp:1479

Here is the call graph for this function:

constexpr auto vnix::units::ldbl::operator""_kft ( long double  v)

Interpret a number, suffixed with '_kft', as a (literal) number of kilofeet.

Definition at line 3090 of file units.hpp.

3090  {
3091  return v*kft;
3092 }
constexpr kilofeet< T > kft(T(1))
Template-variable for symbol for kilofeet.
constexpr auto vnix::units::ldbl::operator""_kg ( long double  v)

Interpret a number, suffixed with '_kg', as a (literal) number of kilograms.

Definition at line 2916 of file units.hpp.

2916  {
2917  return kilograms(v);
2918 }
constexpr auto kilograms(T v)
Produce dimensioned quantity from number of kilograms.
Definition: units.hpp:1401

Here is the call graph for this function:

constexpr auto vnix::units::ldbl::operator""_kJ ( long double  v)

Interpret a number, suffixed with '_kJ', as a (literal) number of kilojoules.

Definition at line 3207 of file units.hpp.

3207  {
3208  return v*kJ;
3209 }
constexpr kilojoules< T > kJ(T(1))
Template-variable for symbol for kilojoules.
constexpr auto vnix::units::ldbl::operator""_km ( long double  v)

Interpret a number, suffixed with '_km', as a (literal) number of kilometers.

Definition at line 2850 of file units.hpp.

2850  {
2851  return kilometers(v);
2852 }
constexpr auto kilometers(T v)
Produce dimensioned quantity from number of kilometers.
Definition: units.hpp:1359

Here is the call graph for this function:

constexpr auto vnix::units::ldbl::operator""_kN ( long double  v)

Interpret a number, suffixed with '_kN', as a (literal) number of kilonewtons.

Definition at line 3153 of file units.hpp.

3153  {
3154  return v*kN;
3155 }
constexpr kilonewtons< T > kN(T(1))
Template-variable for symbol for kilonewtons.
constexpr auto vnix::units::ldbl::operator""_kW ( long double  v)

Interpret a number, suffixed with '_kW', as a (literal) number of kilowatts.

Definition at line 3270 of file units.hpp.

3270  {
3271  return v*kW;
3272 }
constexpr kilowatts< T > kW(T(1))
Template-variable for symbol for kilowatts.
constexpr auto vnix::units::ldbl::operator""_m ( long double  v)

Interpret a number, suffixed with '_m', as a (literal) number of meters.

Definition at line 2784 of file units.hpp.

2784  {
2785  return meters(v);
2786 }
constexpr auto meters(T v)
Produce dimensioned quantity from number of meters.
Definition: units.hpp:1317

Here is the call graph for this function:

constexpr auto vnix::units::ldbl::operator""_mA ( long double  v)

Interpret a number, suffixed with '_mA', as a (literal) number of milliamperes.

Definition at line 3306 of file units.hpp.

3306  {
3307  return v*mA;
3308 }
constexpr milliamperes< T > mA(T(1))
Template-variable for symbol for milliamperes.
constexpr auto vnix::units::ldbl::operator""_mC ( long double  v)

Interpret a number, suffixed with '_mC', as a (literal) number of millicoulombs.

Definition at line 3003 of file units.hpp.

3003  {
3004  return millicoulombs(v);
3005 }
constexpr auto millicoulombs(T v)
Produce dimensioned quantity from number of millicoulombs.
Definition: units.hpp:1455

Here is the call graph for this function:

constexpr auto vnix::units::ldbl::operator""_mg ( long double  v)

Interpret a number, suffixed with '_mg', as a (literal) number of milligrams.

Definition at line 2880 of file units.hpp.

2880  {
2881  return milligrams(v);
2882 }
constexpr auto milligrams(T v)
Produce dimensioned quantity from number of milligrams.
Definition: units.hpp:1377

Here is the call graph for this function:

constexpr auto vnix::units::ldbl::operator""_Mg ( long double  v)

Interpret a number, suffixed with '_Mg', as a (literal) number of megagrams.

Definition at line 2925 of file units.hpp.

2925  {
2926  return megagrams(v);
2927 }
constexpr auto megagrams(T v)
Produce dimensioned quantity from number of megagrams.
Definition: units.hpp:1407

Here is the call graph for this function:

constexpr auto vnix::units::ldbl::operator""_mi ( long double  v)

Interpret a number, suffixed with '_mi', as a (literal) number of miles.

Definition at line 3117 of file units.hpp.

3117  {
3118  return v*mi;
3119 }
constexpr miles< T > mi(T(1))
Template-variable for symbol for miles.
constexpr auto vnix::units::ldbl::operator""_mJ ( long double  v)

Interpret a number, suffixed with '_mJ', as a (literal) number of millijoules.

Definition at line 3189 of file units.hpp.

3189  {
3190  return v*mJ;
3191 }
constexpr millijoules< T > mJ(T(1))
Template-variable for symbol for millijoules.
constexpr auto vnix::units::ldbl::operator""_MJ ( long double  v)

Interpret a number, suffixed with '_MJ', as a (literal) number of megajoules.

Definition at line 3216 of file units.hpp.

3216  {
3217  return v*MJ;
3218 }
constexpr megajoules< T > MJ(T(1))
Template-variable for symbol for megajoules.
constexpr auto vnix::units::ldbl::operator""_mK ( long double  v)

Interpret a number, suffixed with '_mK', as a (literal) number of millikelvins.

Definition at line 3051 of file units.hpp.

3051  {
3052  return millikelvins(v);
3053 }
constexpr auto millikelvins(T v)
Produce dimensioned quantity from number of millikelvins.
Definition: units.hpp:1485

Here is the call graph for this function:

constexpr auto vnix::units::ldbl::operator""_mm ( long double  v)

Interpret a number, suffixed with '_mm', as a (literal) number of millimeters.

Definition at line 2805 of file units.hpp.

2805  {
2806  return millimeters(v);
2807 }
constexpr auto millimeters(T v)
Produce dimensioned quantity from number of millimeters.
Definition: units.hpp:1329

Here is the call graph for this function:

constexpr auto vnix::units::ldbl::operator""_Mm ( long double  v)

Interpret a number, suffixed with '_Mm', as a (literal) number of megameters.

Definition at line 2859 of file units.hpp.

2859  {
2860  return megameters(v);
2861 }
constexpr auto megameters(T v)
Produce dimensioned quantity from number of megameters.
Definition: units.hpp:1365

Here is the call graph for this function:

constexpr auto vnix::units::ldbl::operator""_mN ( long double  v)

Interpret a number, suffixed with '_mN', as a (literal) number of millinewtons.

Definition at line 3135 of file units.hpp.

3135  {
3136  return v*mN;
3137 }
constexpr millinewtons< T > mN(T(1))
Template-variable for symbol for millinewtons.
constexpr auto vnix::units::ldbl::operator""_MN ( long double  v)

Interpret a number, suffixed with '_MN', as a (literal) number of meganewtons.

Definition at line 3162 of file units.hpp.

3162  {
3163  return v*MN;
3164 }
constexpr meganewtons< T > MN(T(1))
Template-variable for symbol for meganewtons.
constexpr auto vnix::units::ldbl::operator""_ms ( long double  v)

Interpret a number, suffixed with '_ms', as a (literal) number of milliseconds.

Definition at line 2946 of file units.hpp.

2946  {
2947  return milliseconds(v);
2948 }
constexpr auto milliseconds(T v)
Produce dimensioned quantity from number of milliseconds.
Definition: units.hpp:1419

Here is the call graph for this function:

constexpr auto vnix::units::ldbl::operator""_muA ( long double  v)

Interpret a number, suffixed with '_muA', as a (literal) number of microamperes.

Definition at line 3315 of file units.hpp.

3315  {
3316  return v*muA;
3317 }
constexpr microamperes< T > muA(T(1))
Template-variable for symbol for microamperes.
constexpr auto vnix::units::ldbl::operator""_muC ( long double  v)

Interpret a number, suffixed with '_muC', as a (literal) number of microcoulombs.

Definition at line 3012 of file units.hpp.

3012  {
3013  return microcoulombs(v);
3014 }
constexpr auto microcoulombs(T v)
Produce dimensioned quantity from number of microcoulombs.
Definition: units.hpp:1461

Here is the call graph for this function:

constexpr auto vnix::units::ldbl::operator""_mug ( long double  v)

Interpret a number, suffixed with '_mug', as a (literal) number of micrograms.

Definition at line 2889 of file units.hpp.

2889  {
2890  return micrograms(v);
2891 }
constexpr auto micrograms(T v)
Produce dimensioned quantity from number of micrograms.
Definition: units.hpp:1383

Here is the call graph for this function:

constexpr auto vnix::units::ldbl::operator""_muJ ( long double  v)

Interpret a number, suffixed with '_muJ', as a (literal) number of microjoules.

Definition at line 3198 of file units.hpp.

3198  {
3199  return v*muJ;
3200 }
constexpr microjoules< T > muJ(T(1))
Template-variable for symbol for microjoules.
constexpr auto vnix::units::ldbl::operator""_muK ( long double  v)

Interpret a number, suffixed with '_muK', as a (literal) number of microkelvins.

Definition at line 3060 of file units.hpp.

3060  {
3061  return microkelvins(v);
3062 }
constexpr auto microkelvins(T v)
Produce dimensioned quantity from number of microkelvins.
Definition: units.hpp:1491

Here is the call graph for this function:

constexpr auto vnix::units::ldbl::operator""_mum ( long double  v)

Interpret a number, suffixed with '_mum', as a (literal) number of micrometers.

Definition at line 2814 of file units.hpp.

2814  {
2815  return micrometers(v);
2816 }
constexpr auto micrometers(T v)
Produce dimensioned quantity from number of micrometers.
Definition: units.hpp:1335

Here is the call graph for this function:

constexpr auto vnix::units::ldbl::operator""_muN ( long double  v)

Interpret a number, suffixed with '_muN', as a (literal) number of micronewtons.

Definition at line 3144 of file units.hpp.

3144  {
3145  return v*muN;
3146 }
constexpr micronewtons< T > muN(T(1))
Template-variable for symbol for micronewtons.
constexpr auto vnix::units::ldbl::operator""_mus ( long double  v)

Interpret a number, suffixed with '_mus', as a (literal) number of microseconds.

Definition at line 2955 of file units.hpp.

2955  {
2956  return microseconds(v);
2957 }
constexpr auto microseconds(T v)
Produce dimensioned quantity from number of microseconds.
Definition: units.hpp:1425

Here is the call graph for this function:

constexpr auto vnix::units::ldbl::operator""_muW ( long double  v)

Interpret a number, suffixed with '_muW', as a (literal) number of microwatts.

Definition at line 3261 of file units.hpp.

3261  {
3262  return v*muW;
3263 }
constexpr microwatts< T > muW(T(1))
Template-variable for symbol for microwatts.
constexpr auto vnix::units::ldbl::operator""_mW ( long double  v)

Interpret a number, suffixed with '_mW', as a (literal) number of milliwatts.

Definition at line 3252 of file units.hpp.

3252  {
3253  return v*mW;
3254 }
constexpr milliwatts< T > mW(T(1))
Template-variable for symbol for milliwatts.
constexpr auto vnix::units::ldbl::operator""_MW ( long double  v)

Interpret a number, suffixed with '_MW', as a (literal) number of megawatts.

Definition at line 3279 of file units.hpp.

3279  {
3280  return v*MW;
3281 }
constexpr megawatts< T > MW(T(1))
Template-variable for symbol for megawatts.
constexpr auto vnix::units::ldbl::operator""_N ( long double  v)

Interpret a number, suffixed with '_N', as a (literal) number of newtons.

Definition at line 3126 of file units.hpp.

3126  {
3127  return v*N;
3128 }
constexpr newtons< T > N(T(1))
Template-variable for symbol for newtons.
constexpr auto vnix::units::ldbl::operator""_nC ( long double  v)

Interpret a number, suffixed with '_nC', as a (literal) number of nanocoulombs.

Definition at line 3021 of file units.hpp.

3021  {
3022  return nanocoulombs(v);
3023 }
constexpr auto nanocoulombs(T v)
Produce dimensioned quantity from number of nanocoulombs.
Definition: units.hpp:1467

Here is the call graph for this function:

constexpr auto vnix::units::ldbl::operator""_ng ( long double  v)

Interpret a number, suffixed with '_ng', as a (literal) number of nanograms.

Definition at line 2898 of file units.hpp.

2898  {
2899  return nanograms(v);
2900 }
constexpr auto nanograms(T v)
Produce dimensioned quantity from number of nanograms.
Definition: units.hpp:1389

Here is the call graph for this function:

constexpr auto vnix::units::ldbl::operator""_nK ( long double  v)

Interpret a number, suffixed with '_nK', as a (literal) number of nanokelvins.

Definition at line 3069 of file units.hpp.

3069  {
3070  return nanokelvins(v);
3071 }
constexpr auto nanokelvins(T v)
Produce dimensioned quantity from number of nanokelvins.
Definition: units.hpp:1497

Here is the call graph for this function:

constexpr auto vnix::units::ldbl::operator""_nm ( long double  v)

Interpret a number, suffixed with '_nm', as a (literal) number of nanometers.

Definition at line 2823 of file units.hpp.

2823  {
2824  return nanometers(v);
2825 }
constexpr auto nanometers(T v)
Produce dimensioned quantity from number of nanometers.
Definition: units.hpp:1341

Here is the call graph for this function:

constexpr auto vnix::units::ldbl::operator""_ns ( long double  v)

Interpret a number, suffixed with '_ns', as a (literal) number of nanoseconds.

Definition at line 2964 of file units.hpp.

2964  {
2965  return nanoseconds(v);
2966 }
constexpr auto nanoseconds(T v)
Produce dimensioned quantity from number of nanoseconds.
Definition: units.hpp:1431

Here is the call graph for this function:

constexpr auto vnix::units::ldbl::operator""_pC ( long double  v)

Interpret a number, suffixed with '_pC', as a (literal) number of picocoulombs.

Definition at line 3030 of file units.hpp.

3030  {
3031  return picocoulombs(v);
3032 }
constexpr auto picocoulombs(T v)
Produce dimensioned quantity from number of picocoulombs.
Definition: units.hpp:1473

Here is the call graph for this function:

constexpr auto vnix::units::ldbl::operator""_pg ( long double  v)

Interpret a number, suffixed with '_pg', as a (literal) number of picograms.

Definition at line 2907 of file units.hpp.

2907  {
2908  return picograms(v);
2909 }
constexpr auto picograms(T v)
Produce dimensioned quantity from number of picograms.
Definition: units.hpp:1395

Here is the call graph for this function:

constexpr auto vnix::units::ldbl::operator""_pm ( long double  v)

Interpret a number, suffixed with '_pm', as a (literal) number of picometers.

Definition at line 2832 of file units.hpp.

2832  {
2833  return picometers(v);
2834 }
constexpr auto picometers(T v)
Produce dimensioned quantity from number of picometers.
Definition: units.hpp:1347

Here is the call graph for this function:

constexpr auto vnix::units::ldbl::operator""_ps ( long double  v)

Interpret a number, suffixed with '_ps', as a (literal) number of picoseconds.

Definition at line 2973 of file units.hpp.

2973  {
2974  return picoseconds(v);
2975 }
constexpr auto picoseconds(T v)
Produce dimensioned quantity from number of picoseconds.
Definition: units.hpp:1437

Here is the call graph for this function:

constexpr auto vnix::units::ldbl::operator""_s ( long double  v)

Interpret a number, suffixed with '_s', as a (literal) number of seconds.

Definition at line 2934 of file units.hpp.

2934  {
2935  return seconds(v);
2936 }
constexpr auto seconds(T v)
Produce dimensioned quantity from number of seconds.
Definition: units.hpp:1413

Here is the call graph for this function:

constexpr auto vnix::units::ldbl::operator""_W ( long double  v)

Interpret a number, suffixed with '_W', as a (literal) number of watts.

Definition at line 3243 of file units.hpp.

3243  {
3244  return v*W;
3245 }
constexpr watts< T > W(T(1))
Template-variable for symbol for watts.
constexpr auto vnix::units::ldbl::operator""_yd ( long double  v)

Interpret a number, suffixed with '_yd', as a (literal) number of yards.

Definition at line 3108 of file units.hpp.

3108  {
3109  return v*yd;
3110 }
constexpr yards< T > yd(T(1))
Template-variable for symbol for yards.

Variable Documentation

constexpr auto vnix::units::ldbl::A = impl::A<long double>

Constant-expression symbol for A.

Definition at line 3293 of file units.hpp.

constexpr auto vnix::units::ldbl::C = impl::C<long double>

Constant-expression symbol for C.

Definition at line 2996 of file units.hpp.

constexpr auto vnix::units::ldbl::cm = impl::cm<long double>

Constant-expression symbol for cm.

Definition at line 2801 of file units.hpp.

constexpr auto vnix::units::ldbl::dyn = impl::dyn<long double>

Constant-expression symbol for dyn.

Definition at line 3167 of file units.hpp.

constexpr auto vnix::units::ldbl::erg = impl::erg<long double>

Constant-expression symbol for erg.

Definition at line 3230 of file units.hpp.

constexpr auto vnix::units::ldbl::fm = impl::fm<long double>

Constant-expression symbol for fm.

Definition at line 2846 of file units.hpp.

constexpr auto vnix::units::ldbl::fs = impl::fs<long double>

Constant-expression symbol for fs.

Definition at line 2987 of file units.hpp.

constexpr auto vnix::units::ldbl::ft = impl::ft<long double>

Constant-expression symbol for ft.

Definition at line 3077 of file units.hpp.

constexpr auto vnix::units::ldbl::g = impl::g<long double>

Constant-expression symbol for g.

Definition at line 2873 of file units.hpp.

constexpr auto vnix::units::ldbl::GJ = impl::GJ<long double>

Constant-expression symbol for GJ.

Definition at line 3221 of file units.hpp.

constexpr auto vnix::units::ldbl::GW = impl::GW<long double>

Constant-expression symbol for GW.

Definition at line 3284 of file units.hpp.

constexpr auto vnix::units::ldbl::in = impl::in<long double>

Constant-expression symbol for in.

Definition at line 3095 of file units.hpp.

constexpr auto vnix::units::ldbl::J = impl::J<long double>

Constant-expression symbol for J.

Definition at line 3176 of file units.hpp.

constexpr auto vnix::units::ldbl::K = impl::K<long double>

Constant-expression symbol for K.

Definition at line 3044 of file units.hpp.

constexpr auto vnix::units::ldbl::kft = impl::kft<long double>

Constant-expression symbol for kft.

Definition at line 3086 of file units.hpp.

constexpr auto vnix::units::ldbl::kg = impl::kg<long double>

Constant-expression symbol for kg.

Definition at line 2921 of file units.hpp.

constexpr auto vnix::units::ldbl::kJ = impl::kJ<long double>

Constant-expression symbol for kJ.

Definition at line 3203 of file units.hpp.

constexpr auto vnix::units::ldbl::km = impl::km<long double>

Constant-expression symbol for km.

Definition at line 2855 of file units.hpp.

constexpr auto vnix::units::ldbl::kN = impl::kN<long double>

Constant-expression symbol for kN.

Definition at line 3149 of file units.hpp.

constexpr auto vnix::units::ldbl::kW = impl::kW<long double>

Constant-expression symbol for kW.

Definition at line 3266 of file units.hpp.

constexpr auto vnix::units::ldbl::m = impl::m<long double>

Constant-expression symbol for m.

Definition at line 2789 of file units.hpp.

constexpr auto vnix::units::ldbl::mA = impl::mA<long double>

Constant-expression symbol for mA.

Definition at line 3302 of file units.hpp.

constexpr auto vnix::units::ldbl::mC = impl::mC<long double>

Constant-expression symbol for mC.

Definition at line 3008 of file units.hpp.

constexpr auto vnix::units::ldbl::mg = impl::mg<long double>

Constant-expression symbol for mg.

Definition at line 2885 of file units.hpp.

constexpr auto vnix::units::ldbl::Mg = impl::Mg<long double>

Constant-expression symbol for Mg.

Definition at line 2930 of file units.hpp.

constexpr auto vnix::units::ldbl::mi = impl::mi<long double>

Constant-expression symbol for mi.

Definition at line 3113 of file units.hpp.

constexpr auto vnix::units::ldbl::mJ = impl::mJ<long double>

Constant-expression symbol for mJ.

Definition at line 3185 of file units.hpp.

constexpr auto vnix::units::ldbl::MJ = impl::MJ<long double>

Constant-expression symbol for MJ.

Definition at line 3212 of file units.hpp.

constexpr auto vnix::units::ldbl::mK = impl::mK<long double>

Constant-expression symbol for mK.

Definition at line 3056 of file units.hpp.

constexpr auto vnix::units::ldbl::mm = impl::mm<long double>

Constant-expression symbol for mm.

Definition at line 2810 of file units.hpp.

constexpr auto vnix::units::ldbl::Mm = impl::Mm<long double>

Constant-expression symbol for Mm.

Definition at line 2864 of file units.hpp.

constexpr auto vnix::units::ldbl::mN = impl::mN<long double>

Constant-expression symbol for mN.

Definition at line 3131 of file units.hpp.

constexpr auto vnix::units::ldbl::MN = impl::MN<long double>

Constant-expression symbol for MN.

Definition at line 3158 of file units.hpp.

constexpr auto vnix::units::ldbl::ms = impl::ms<long double>

Constant-expression symbol for ms.

Definition at line 2951 of file units.hpp.

constexpr auto vnix::units::ldbl::muA = impl::muA<long double>

Constant-expression symbol for muA.

Definition at line 3311 of file units.hpp.

constexpr auto vnix::units::ldbl::muC = impl::muC<long double>

Constant-expression symbol for muC.

Definition at line 3017 of file units.hpp.

constexpr auto vnix::units::ldbl::mug = impl::mug<long double>

Constant-expression symbol for mug.

Definition at line 2894 of file units.hpp.

constexpr auto vnix::units::ldbl::muJ = impl::muJ<long double>

Constant-expression symbol for muJ.

Definition at line 3194 of file units.hpp.

constexpr auto vnix::units::ldbl::muK = impl::muK<long double>

Constant-expression symbol for muK.

Definition at line 3065 of file units.hpp.

constexpr auto vnix::units::ldbl::mum = impl::mum<long double>

Constant-expression symbol for mum.

Definition at line 2819 of file units.hpp.

constexpr auto vnix::units::ldbl::muN = impl::muN<long double>

Constant-expression symbol for muN.

Definition at line 3140 of file units.hpp.

constexpr auto vnix::units::ldbl::mus = impl::mus<long double>

Constant-expression symbol for mus.

Definition at line 2960 of file units.hpp.

constexpr auto vnix::units::ldbl::muW = impl::muW<long double>

Constant-expression symbol for muW.

Definition at line 3257 of file units.hpp.

constexpr auto vnix::units::ldbl::mW = impl::mW<long double>

Constant-expression symbol for mW.

Definition at line 3248 of file units.hpp.

constexpr auto vnix::units::ldbl::MW = impl::MW<long double>

Constant-expression symbol for MW.

Definition at line 3275 of file units.hpp.

constexpr auto vnix::units::ldbl::N = impl::N<long double>

Constant-expression symbol for N.

Definition at line 3122 of file units.hpp.

constexpr auto vnix::units::ldbl::nC = impl::nC<long double>

Constant-expression symbol for nC.

Definition at line 3026 of file units.hpp.

constexpr auto vnix::units::ldbl::ng = impl::ng<long double>

Constant-expression symbol for ng.

Definition at line 2903 of file units.hpp.

constexpr auto vnix::units::ldbl::nK = impl::nK<long double>

Constant-expression symbol for nK.

Definition at line 3074 of file units.hpp.

constexpr auto vnix::units::ldbl::nm = impl::nm<long double>

Constant-expression symbol for nm.

Definition at line 2828 of file units.hpp.

constexpr auto vnix::units::ldbl::ns = impl::ns<long double>

Constant-expression symbol for ns.

Definition at line 2969 of file units.hpp.

constexpr auto vnix::units::ldbl::pC = impl::pC<long double>

Constant-expression symbol for pC.

Definition at line 3035 of file units.hpp.

constexpr auto vnix::units::ldbl::pg = impl::pg<long double>

Constant-expression symbol for pg.

Definition at line 2912 of file units.hpp.

constexpr auto vnix::units::ldbl::pm = impl::pm<long double>

Constant-expression symbol for pm.

Definition at line 2837 of file units.hpp.

constexpr auto vnix::units::ldbl::ps = impl::ps<long double>

Constant-expression symbol for ps.

Definition at line 2978 of file units.hpp.

constexpr auto vnix::units::ldbl::s = impl::s<long double>

Constant-expression symbol for s.

Definition at line 2939 of file units.hpp.

constexpr auto vnix::units::ldbl::W = impl::W<long double>

Constant-expression symbol for W.

Definition at line 3239 of file units.hpp.

constexpr auto vnix::units::ldbl::yd = impl::yd<long double>

Constant-expression symbol for yd.

Definition at line 3104 of file units.hpp.