Project
Loading...
Searching...
No Matches
SI Namespace Reference

Namespaces

namespace  constant
namespace  formula
namespace  internal
namespace  detail
namespace  prefix

Classes

struct  is_si

Typedefs

typedef double dimensionless
 to hold a quantity without any unit, e.g. 42
typedef long double angle
 basic datatype to hold a dimensionless angle, e.g. 3.1415
typedef angle radians
 basic unit of radians for angle
typedef double SIdouble
 internal datatype to hold floating point values
template<class Dimension, long long numerator = 1, long long denumerator = 1>
using unit = detail::unit<detail::dimension_of_t<Dimension>, detail::ratio<numerator, denumerator>>

Functions

bool from_string (const std::string &str, length &result)
 The from_string() function.
bool from_string (const std::string &str, time &result)
bool from_string (const std::string &str, mass &result)
std::string _join (long double quantity, const char *unit, const char *formatString)
std::string to_string (const length d)
 Returns the given length as string using SI units.
std::string to_equivalent (const length d)
 Returns a length equivalent as string, e.g. in Imperial units.
std::ostream & operator<< (std::ostream &os, const length d)
std::string to_string (const time t)
 Returns the given time as string using SI units.
std::ostream & operator<< (std::ostream &os, const time t)
std::string to_string (const mass m)
 Returns the given mass as string using SI units.
std::string to_equivalent (const mass m)
 Returns a mass equivalent as string, e.g. in Imperial units.
std::ostream & operator<< (std::ostream &os, const mass m)
std::string to_string (const temperature T)
 Returns the given temperature as string using SI units.
std::string to_equivalent (const temperature T)
 Returns a temperature equivalent as string, e.g. in Fahrenheit.
std::ostream & operator<< (std::ostream &os, const temperature T)
std::string to_string (const electric_current I)
 Returns the electric current (I) as string using SI units.
std::string to_string (const area a)
 Returns the given area as string using SI units.
std::ostream & operator<< (std::ostream &os, const area a)
std::string to_string (const per_area a)
 Returns the per area as string using SI units.
std::ostream & operator<< (std::ostream &os, const per_area a)
std::string to_string (const volume v)
 Returns the given volume as string using SI units.
std::ostream & operator<< (std::ostream &os, const volume v)
std::string to_string (const velocity v)
 Returns velocity as string using SI units.
std::string to_equivalent (const velocity V)
 Returns a velocity equivalent as string, e.g. in Imperial units.
std::ostream & operator<< (std::ostream &os, const velocity v)
std::string to_string (const acceleration a)
 Returns the acceleration as string using SI units.
std::ostream & operator<< (std::ostream &os, const acceleration a)
std::string to_string (const frequency f)
 Returns the frequency as string using SI units.
std::ostream & operator<< (std::ostream &os, const frequency f)
std::string to_string (const force F)
 Returns the force as string using SI units.
std::ostream & operator<< (std::ostream &os, const force F)
std::string to_string (const energy E)
 Returns the energy as string using SI units.
std::ostream & operator<< (std::ostream &os, const energy E)
std::string to_string (const power P)
 Returns the power as string using SI units.
std::ostream & operator<< (std::ostream &os, const power P)
std::string to_string (const power_intensity I)
 Returns the power intensity as string using SI units.
std::ostream & operator<< (std::ostream &os, const power_intensity I)
std::string to_string (const pressure p)
 Returns the pressure as string using SI units.
std::ostream & operator<< (std::ostream &os, const pressure p)
std::string to_string (const electric_potential U)
 Returns the electric potential as string using SI units.
std::ostream & operator<< (std::ostream &os, const electric_potential U)
std::string to_string (const electric_charge Q)
 Returns the electric charge as string using SI units.
std::string to_string (const mass_per_area m)
std::string to_string (const mass_per_power m)
 Returns the mass per power as string using SI units.
std::ostream & operator<< (std::ostream &os, const mass_per_power m)
std::string to_string (const density d)
 Returns density as string using SI units.
std::string to_string (const angle a)
 Returns the angle as string in degree.
std::string to_string (const dimensionless value)
std::string to_string (const unsigned char byte)
std::string to_string (const char glyph)
std::string to_string (const std::string &text)
std::string to_equivalent (const power_intensity I)
 Returns a power intensity equivalent as string, e.g. in dB.
std::string to_equivalent (const energy E)
 Returns an energy equivalent as string, e.g. kg TNT.
std::string to_percentage (length part, length total)
 Returns the percentage as string, e.g. 50.0%.
 DATATYPE (length, 1, 0, 0, 0, 0, 0, 0)
 DATATYPE (mass, 0, 1, 0, 0, 0, 0, 0)
 DATATYPE (time, 0, 0, 1, 0, 0, 0, 0)
 DATATYPE (temperature, 0, 0, 0, 1, 0, 0, 0)
 DATATYPE (electric_current, 0, 0, 0, 0, 1, 0, 0)
 DATATYPE (amount_of_substance, 0, 0, 0, 0, 0, 1, 0)
 DATATYPE (luminous_intensity, 0, 0, 0, 0, 0, 0, 1)
 DATATYPE (area, 2, 0, 0, 0, 0, 0, 0)
 DATATYPE (volume, 3, 0, 0, 0, 0, 0, 0)
 DATATYPE (velocity, 1, 0,-1, 0, 0, 0, 0)
 DATATYPE (acceleration, 1, 0,-2, 0, 0, 0, 0)
 DATATYPE (jerk, 1, 0,-3, 0, 0, 0, 0)
 DATATYPE (force, 1, 1,-2, 0, 0, 0, 0)
 DATATYPE (energy, 2, 1,-2, 0, 0, 0, 0)
 DATATYPE (impulse, 1, 1,-1, 0, 0, 0, 0)
 DATATYPE (torque, 2, 1,-2, 0, 0, 0, 0)
 DATATYPE (pressure, -1, 1,-2, 0, 0, 0, 0)
 DATATYPE (power, 2, 1,-3, 0, 0, 0, 0)
 DATATYPE (power_intensity, 0, 1,-3, 0, 0, 0, 0)
 DATATYPE (density, -3, 1, 0, 0, 0, 0, 0)
 DATATYPE (electric_potential, 2, 1,-3, 0,-1, 0, 0)
 DATATYPE (electric_charge, 0, 0, 1, 0, 1, 0, 0)
 DATATYPE (mass_per_area, -2, 1, 0, 0, 0, 0, 0)
 DATATYPE (mass_per_power, -2, 0, 3, 0, 0, 0, 0)
 DATATYPE (angular_speed, 0, 0,-1, 0, 1, 0, 0)
 DATATYPE (specific_energy, 2, 0,-2, 0, 0, 0, 0)
 DATATYPE (energy_per_mol, 2, 1,-2, 0, 0, 1, 0)
 DATATYPE (volume_per_time_squared, 3, 0,-2, 0, 0, 0, 0)
 DATATYPE (per_length, -1, 0, 0, 0, 0, 0, 0)
 DATATYPE (per_area, -2, 0, 0, 0, 0, 0, 0)
 DATATYPE (frequency, 0, 0,-1, 0, 0, 0, 0)
 DATATYPE (per_amount_of_substance, 0, 0, 0, 0,-1, 0, 0)
 LITERAL (_Pm, 1e15, meters)
 LITERAL (_Tm, 1e12, meters)
 LITERAL (_Gm, 1e9, meters)
 LITERAL (_Mm, 1e6, meters)
 LITERAL (_km, 1e3, meters)
 LITERAL (_m, 1, meters)
 LITERAL (_dm, 1e-1, meters)
 LITERAL (_cm, 1e-2, meters)
 LITERAL (_mm, 1e-3, meters)
 LITERAL (_um, 1e-6, meters)
 LITERAL (_nm, 1e-9, meters)
 LITERAL (_pm, 1e-12, meters)
 LITERAL (_day, 86400, seconds)
 LITERAL (_days, 86400, seconds)
 LITERAL (_h, 3600, seconds)
 LITERAL (_min, 60, seconds)
 LITERAL (_s, 1, seconds)
 LITERAL (_ms, 1e-3, seconds)
 LITERAL (_us, 1e-6, seconds)
 LITERAL (_ns, 1e-9, seconds)
 LITERAL (_ps, 1e-12, seconds)
 LITERAL (_Pt, 1e18, kilograms)
 LITERAL (_Tt, 1e15, kilograms)
 LITERAL (_Gt, 1e12, kilograms)
 LITERAL (_Mt, 1e9, kilograms)
 LITERAL (_kt, 1e6, kilograms)
 LITERAL (_t, 1e3, kilograms)
 LITERAL (_kg, 1, kilograms)
 LITERAL (_g, 1e-3, kilograms)
 LITERAL (_mg, 1e-6, kilograms)
 LITERAL (_ug, 1e-9, kilograms)
 LITERAL (_ng, 1e-12, kilograms)
 LITERAL (_GK, 1e9, kelvins)
 LITERAL (_MK, 1e6, kelvins)
 LITERAL (_kK, 1e3, kelvins)
 LITERAL (_K, 1, kelvins)
 LITERAL (_mK, 1e-3, kelvins)
 LITERAL (_uK, 1e-6, kelvins)
 LITERAL (_nK, 1e-9, kelvins)
 LITERAL (_GA, 1e9, amperes)
 LITERAL (_MA, 1e6, amperes)
 LITERAL (_kA, 1e3, amperes)
 LITERAL (_A, 1, amperes)
 LITERAL (_mA, 1e-3, amperes)
 LITERAL (_uA, 1e-6, amperes)
 LITERAL (_nA, 1e-9, amperes)
 LITERAL (_pA, 1e-12, amperes)
 LITERAL (_Gmol, 1e9, moles)
 LITERAL (_Mmol, 1e6, moles)
 LITERAL (_kmol, 1e3, moles)
 LITERAL (_mol, 1, moles)
 LITERAL (_mmol, 1e-3, moles)
 LITERAL (_umol, 1e-6, moles)
 LITERAL (_nmol, 1e-9, moles)
 LITERAL (_pmol, 1e-12, moles)
 LITERAL (_fmol, 1e-15, moles)
 LITERAL (_kcd, 1e3, candelas)
 LITERAL (_cd, 1, candelas)
 LITERAL (_km², 1e6, meters2)
 LITERAL (_hm², 1e4, meters2)
 LITERAL (_m², 1, meters2)
 LITERAL (_cm², 1e-4, meters2)
 LITERAL (_mm², 1e-6, meters2)
 LITERAL (_um², 1e-9, meters2)
 LITERAL (_per_km², 1e-6, per_meter2)
 LITERAL (_per_hm², 1e-4, per_meter2)
 LITERAL (_per_m², 1, per_meter2)
 LITERAL (_per_cm², 1e4, per_meter2)
 LITERAL (_per_mm², 1e6, per_meter2)
 LITERAL (_per_μm², 1e9, per_meter2)
 LITERAL (_m²_per_s, 1, meters2_per_second)
 LITERAL (_km³, 1e9, meters3)
 LITERAL (_m³, 1, meters3)
 LITERAL (_dm³, 1e-3, meters3)
 LITERAL (_cm³, 1e-6, meters3)
 LITERAL (_mm³, 1e-9, meters3)
 LITERAL (_um³, 1e-12, meters3)
 LITERAL (_Ml, 1e3, meters3)
 LITERAL (_kl, 1, meters3)
 LITERAL (_hl, 0.1, meters3)
 LITERAL (_l, 1e-3, meters3)
 LITERAL (_ml, 1e-6, meters3)
 LITERAL (_ul, 1e-9, meters3)
 LITERAL (_nl, 1e-12, meters3)
 LITERAL (_pl, 1e-15, meters3)
 LITERAL (_m³_per_s, 1, meters3_per_second)
 LITERAL (_l_per_min, 1.0/60000.0, meters3_per_second)
 LITERAL (_l_per_s, 1e-3, meters3_per_second)
 LITERAL (_km_per_s, 1e3, meters_per_second)
 LITERAL (_m_per_s, 1, meters_per_second)
 LITERAL (_mm_per_s, 1e-3, meters_per_second)
 LITERAL (_km_per_h, 1e3, meters_per_hour)
 LITERAL (_m_per_h, 1, meters_per_hour)
 LITERAL (_mm_per_h, 1e-3, meters_per_hour)
 LITERAL (_km_per_s², 1e3, meters_per_second2)
 LITERAL (_m_per_s², 1, meters_per_second2)
 LITERAL (_PHz, 1e15, hertz)
 LITERAL (_THz, 1e12, hertz)
 LITERAL (_GHz, 1e9, hertz)
 LITERAL (_MHz, 1e6, hertz)
 LITERAL (_kHz, 1e3, hertz)
 LITERAL (_Hz, 1, hertz)
 LITERAL (_mHz, 1e-3, hertz)
 LITERAL (_uHz, 1e-6, hertz)
 LITERAL (_TBq, 1e12, hertz)
 LITERAL (_GBq, 1e9, hertz)
 LITERAL (_MBq, 1e6, hertz)
 LITERAL (_kBq, 1e3, hertz)
 LITERAL (_Bq, 1, hertz)
 LITERAL (_Gy, 1, grays)
 LITERAL (_mGy, 1e-3, grays)
 LITERAL (_uGy, 1e-6, grays)
 LITERAL (_Sv, 1, sieverts)
 LITERAL (_mSv, 1e-3, sieverts)
 LITERAL (_uSv, 1e-6, sieverts)
 LITERAL (_t_per_m², 1e3, kilograms_per_meter2)
 LITERAL (_kg_per_m², 1, kilograms_per_meter2)
 LITERAL (_t_per_m³, 1e3, kilograms_per_meter3)
 LITERAL (_kg_per_m³, 1, kilograms_per_meter3)
 LITERAL (_g_per_m³, 1e-3, kilograms_per_meter3)
 LITERAL (_mg_per_m³, 1e-9, kilograms_per_meter3)
 LITERAL (_kg_per_cm³, 1e-6, kilograms_per_meter3)
 LITERAL (_g_per_cm³, 1e3, kilograms_per_meter3)
 LITERAL (_GV, 1e9, volts)
 LITERAL (_MV, 1e6, volts)
 LITERAL (_kV, 1e3, volts)
 LITERAL (_V, 1, volts)
 LITERAL (_mV, 1e-3, volts)
 LITERAL (_uV, 1e-6, volts)
 LITERAL (_nV, 1e-9, volts)
 LITERAL (_pV, 1e-12, volts)
 LITERAL (_GOhm, 1e9, ohms)
 LITERAL (_MOhm, 1e6, ohms)
 LITERAL (_kOhm, 1e3, ohms)
 LITERAL (_Ohm, 1, ohms)
 LITERAL (_mOhm, 1e-3, ohms)
 LITERAL (_uOhm, 1e-6, ohms)
 LITERAL (_Ohm_m, 1, ohm_meters)
 LITERAL (_GS, 1e9, siemens)
 LITERAL (_MS, 1e6, siemens)
 LITERAL (_kS, 1e3, siemens)
 LITERAL (_S, 1, siemens)
 LITERAL (_mS, 1e-3, siemens)
 LITERAL (_uS, 1e-6, siemens)
 LITERAL (_nS, 1e-9, siemens)
 LITERAL (_MS_per_m, 1e6, siemens_per_meter)
 LITERAL (_kS_per_m, 1e3, siemens_per_meter)
 LITERAL (_S_per_m, 1, siemens_per_meter)
 LITERAL (_GC, 1e9, coulombs)
 LITERAL (_MC, 1e6, coulombs)
 LITERAL (_kC, 1e3, coulombs)
 LITERAL (_C, 1, coulombs)
 LITERAL (_mC, 1e-3, coulombs)
 LITERAL (_uC, 1e-6, coulombs)
 LITERAL (_nC, 1e-9, coulombs)
 LITERAL (_pC, 1e-12, coulombs)
 LITERAL (_GAh, 1e9, ampere_hours)
 LITERAL (_MAh, 1e6, ampere_hours)
 LITERAL (_kAh, 1e3, ampere_hours)
 LITERAL (_Ah, 1, ampere_hours)
 LITERAL (_mAh, 1e-3, ampere_hours)
 LITERAL (_uAh, 1e-6, ampere_hours)
 LITERAL (_nAh, 1e-9, ampere_hours)
 LITERAL (_pAh, 1e-12, ampere_hours)
 LITERAL (_F, 1, farads)
 LITERAL (_mF, 1e-3, farads)
 LITERAL (_uF, 1e-6, farads)
 LITERAL (_nF, 1e-9, farads)
 LITERAL (_pF, 1e-12, farads)
 LITERAL (_H, 1, henrys)
 LITERAL (_mH, 1e-3, henrys)
 LITERAL (_uH, 1e-6, henrys)
 LITERAL (_nH, 1e-9, henrys)
 LITERAL (_Wb, 1, webers)
 LITERAL (_kT, 1e3, teslas)
 LITERAL (_T, 1, teslas)
 LITERAL (_mT, 1e-3, teslas)
 LITERAL (_uT, 1e-6, teslas)
 LITERAL (_nT, 1e-9, teslas)
 LITERAL (_PJ, 1e15, joules)
 LITERAL (_TJ, 1e12, joules)
 LITERAL (_GJ, 1e9, joules)
 LITERAL (_MJ, 1e6, joules)
 LITERAL (_kJ, 1e3, joules)
 LITERAL (_J, 1, joules)
 LITERAL (_mJ, 1e-3, joules)
 LITERAL (_kJ_per_mol, 1e3, joules_per_mol)
 LITERAL (_Mcal, 4186800, joules)
 LITERAL (_kcal, 4186.8, joules)
 LITERAL (_cal, 4.1868, joules)
 LITERAL (_TW, 1e12, watts)
 LITERAL (_GW, 1e9, watts)
 LITERAL (_MW, 1e6, watts)
 LITERAL (_kW, 1e3, watts)
 LITERAL (_W, 1, watts)
 LITERAL (_mW, 1e-3, watts)
 LITERAL (_uW, 1e-6, watts)
 LITERAL (_TWh, 3.6e15, watts)
 LITERAL (_GWh, 3.6e12, watts)
 LITERAL (_MWh, 3.6e9, watts)
 LITERAL (_kWh, 3.6e6, watts)
 LITERAL (_Wh, 3.6e3, watts)
 LITERAL (_kWh_per_kg, 3.6e6, joules_per_second_per_kilogram)
 LITERAL (_Wh_per_kg, 3.6e3, joules_per_second_per_kilogram)
 LITERAL (_MW_per_m², 1e6, watts_per_meter2)
 LITERAL (_kW_per_m², 1e3, watts_per_meter2)
 LITERAL (_W_per_m², 1, watts_per_meter2)
 LITERAL (_mW_per_m², 1e-3, watts_per_meter2)
 LITERAL (_uW_per_m², 1e-6, watts_per_meter2)
 LITERAL (_GPa, 1e9, pascals)
 LITERAL (_MPa, 1e6, pascals)
 LITERAL (_kPa, 1e3, pascals)
 LITERAL (_hPa, 100, pascals)
 LITERAL (_Pa, 1, pascals)
 LITERAL (_mPa, 1e-3, pascals)
 LITERAL (_uPa, 1e-6, pascals)
 LITERAL (_ZN, 1e21, newtons)
 LITERAL (_EN, 1e18, newtons)
 LITERAL (_PN, 1e15, newtons)
 LITERAL (_TN, 1e12, newtons)
 LITERAL (_GN, 1e9, newtons)
 LITERAL (_MN, 1e6, newtons)
 LITERAL (_kN, 1e3, newtons)
 LITERAL (_N, 1, newtons)
 LITERAL (_mN, 1e-3, newtons)
 LITERAL (_uN, 1e-6, newtons)
 LITERAL (_pN, 1e-9, newtons)
 LITERAL (_lm, 1, lumens)
 LITERAL (_lm_s, 1, lumenseconds)
 LITERAL (_lm_per_W, 1, lumens_per_watt)
 LITERAL (_klx, 1e3, lux)
 LITERAL (_lx, 1, lux)
 LITERAL (_mlx, 1e-3, lux)
 LITERAL (_ulx, 1e-6, lux)
 LITERAL (_plx, 1e-9, lux)
 LITERAL (_kat, 1, mols_per_second)
 LITERAL (_mkat, 1e-3, mols_per_second)
 LITERAL (_ukat, 1e-6, mols_per_second)
 LITERAL (_nkat, 1e-9, mols_per_second)
 LITERAL (_Nm, 1, newtonmeters)
 LITERAL (_rad, 1, radians)
 LITERAL (_deg, 0.01745329251994329576923690768489, radians)
 LITERAL (_sr, 1, steradians)
 LITERAL (_km³_per_s², 1e9, meters3_per_second2)
 LITERAL (_kg_per_mol, 1, kilograms_per_mol)
 LITERAL (_kg_per_W, 1, kilograms_per_watt)
 LITERAL (_kg_per_kW, 1e-3, kilograms_per_watt)
 LITERAL (_in, 0.0254, meters)
 LITERAL (_ft, 0.3048, meters)
 LITERAL (_yd, 0.9144, meters)
 LITERAL (_ch, 20.1168, meters)
 LITERAL (_mi, 1 '609.344, meters)
 LITERAL (_cable, 185.2, meters)
 LITERAL (_nmi, 1852, meters)
 LITERAL (_NM, 1852, meters)
 LITERAL (_oz, 0.028 '349 '523 '125, kilograms)
 LITERAL (_lb, 0.453 '592 '37, kilograms)
 LITERAL (_gal, 4.54609e-3, meters3)
 LITERAL (_kn, 1852, meters_per_hour)
 LITERAL (_ft_per_min, 0.00508, meters_per_second)
 LITERAL (_in_per_s, 0.0254, meters_per_second)
 LITERAL (_in_per_h, 0.0000070556, meters_per_second)
 LITERAL (_mph,.44704, meters_per_second)
 LITERAL (_degF, 1, fahrenheit)
 LITERAL (_Gpc, 30 '856 '775 '814 '913 '673e9, meters)
 LITERAL (_Mpc, 30 '856 '775 '814 '913 '673e6, meters)
 LITERAL (_kpc, 30 '856 '775 '814 '913 '673e3, meters)
 LITERAL (_pc, 30 '856 '775 '814 '913 '673e0, meters)
 LITERAL (_ly, 9 '460 '730 '472 '580 '800, meters)
 LITERAL (_au, 149 '597 '870 '700, meters)
 LITERAL (_ls, 299 '792 '458, meters)
 LITERAL (_Msun, 1.98892e30, kilograms)
 LITERAL (_Mjup, 1.898e27, kilograms)
 LITERAL (_Mearth, 5.9742e24, kilograms)
 LITERAL (_Mmoon, 7.34767309e22, kilograms)
 LITERAL (_byte, 1, bytes)
 LITERAL (_kB, 1e3, bytes)
 LITERAL (_kiB, 1024, bytes)
 LITERAL (_MB, 1e6, bytes)
 LITERAL (_MiB, 1 '048 '576, bytes)
 LITERAL (_GB, 1e9, bytes)
 LITERAL (_GiB, 1 '073 '741 '824, bytes)
 LITERAL (_TB, 1e12, bytes)
 LITERAL (_TiB, 1 '099 '511 '627 '776, bytes)
 LITERAL (_PB, 1e15, bytes)
 LITERAL (_EB, 1e18, bytes)
 LITERAL (_ZB, 1e21, bytes)
 LITERAL (_YB, 1e24, bytes)
 LITERAL (_RB, 1e27, bytes)
 LITERAL (_QB, 1e30, bytes)
 LITERAL (_bytes_per_s, 1, bytes_per_second)
 LITERAL (_KBps, 1e3, bytes_per_second)
 LITERAL (_KiBps, 1024, bytes_per_second)
 LITERAL (_MBps, 1e6, bytes_per_second)
 LITERAL (_MiBps, 1 '048 '576, bytes_per_second)
 LITERAL (_GBps, 1e9, bytes_per_second)
 LITERAL (_GiBps, 1 '073 '741 '824, bytes_per_second)
 LITERAL (_TBps, 1e12, bytes_per_second)
 LITERAL (_TiBps, 1 '099 '511 '627 '776, bytes_per_second)
 LITERAL (_PBps, 1e15, bytes_per_second)
 LITERAL (_Kbps, 1e3/8, bytes_per_second)
 LITERAL (_Mbps, 1e6/8, bytes_per_second)
 LITERAL (_Gbps, 1e9/8, bytes_per_second)
 LITERAL (_Tbps, 1e12/8, bytes_per_second)
 LITERAL (_Gbar, 1e14, pascals)
 LITERAL (_Mbar, 1e11, pascals)
 LITERAL (_kbar, 1e8, pascals)
 LITERAL (_bar, 1e5, pascals)
 LITERAL (_mbar, 1e2, pascals)
 LITERAL (_psi, 6 '894.76, pascals)
 LITERAL (_atm, 101 '325, pascals)
 LITERAL (_inHg, 3 '386.39, pascals)
 LITERAL (_mmHg, 101 '325.0/760.0, pascals)
 LITERAL (_Torr, 101 '325.0/760.0, pascals)
 LITERAL (_degC, 1, celsius)
 LITERAL (_degR, 5.0/9.0, kelvins)
 LITERAL (_Mach, 330, meters_per_second)
 LITERAL (_Da, 1.660 '539 '068 '9252e-27, kilograms)
 LITERAL (_eV, 1.602 '176 '634e-19, joules)
 LITERAL (_hp, 745.69987158227022, watts)
 LITERAL (_shp, 745.69987158227022, watts)
 LITERAL (_PS, 735.49875, watts)
 LITERAL (_Ang, 1e-10, meters)
 LITERAL (_percent, 0.01, dimensionless)
 LITERAL (_bpm, 1.0/60.0, hertz)
 LITERAL (_smoot, 1.7018, meters)
template<typename T>
void print (T value)
 Prints a single value without a newline.
template<typename T>
void println (T value)
 Prints a single value and a newline.
template<typename T1, typename T2>
void print (T1 v1, T2 v2)
 Print two values without a newline.
template<typename T1, typename T2>
void println (T1 v1, T2 v2)
 Prints two values and a newline.
template<typename T1, typename T2, typename T3>
void print (T1 v1, T2 v2, T3 v3)
 Prints three values without a newline.
template<typename T1, typename T2, typename T3>
void println (T1 v1, T2 v2, T3 v3)
 Prints three values and a newline.
template<typename T1, typename T2, typename T3, typename T4>
void print (T1 v1, T2 v2, T3 v3, T4 v4)
 Prints four values without a newline.
template<typename T1, typename T2, typename T3, typename T4>
void println (T1 v1, T2 v2, T3 v3, T4 v4)
 Prints four values and a newline.
template<typename T1, typename T2, typename T3, typename T4, typename T5>
void print (T1 v1, T2 v2, T3 v3, T4 v4, T5 v5)
 Prints five values without a newline.
template<typename T1, typename T2, typename T3, typename T4, typename T5>
void println (T1 v1, T2 v2, T3 v3, T4 v4, T5 v5)
 Prints five values and a newline.
template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6>
void print (T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6)
 Prints six values without a newline.
template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6>
void println (T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6)
 Prints six values and a newline.
template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7>
void print (T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7)
 Prints seven values without a newline.
template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7>
void println (T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7)
 Prints seven values and a newline.
template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8>
void print (T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8)
 Prints eight values without a newline.
template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8>
void println (T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8)
 Prints eight values and a newline.
void checkFeatures ()
 This just shows what's possible, the serious checks follow below.
void checkDatatypes ()
 Checks the basic datatypes of C/C++ and libSI.
void checkBaseUnits ()
 Checks the SI base units.
void checkDerivedUnits ()
 Checks the SI derived units.
void checkAstronomicalUnits ()
 Checks the astronomical units.
void checkImperialUnits ()
 Checks the Imperial units.
void checkDigitalUnits ()
 Checks the digital units.
void checkVariousUnits ()
 Checks various units.
void checkFunctionsAndTemplates ()
 Checks the functions and templates.
 UNIT (meters)
 UNIT (seconds)
 UNIT (kilograms)
 UNIT (kelvins)
 UNIT (amperes)
 UNIT (moles)
 UNIT (candelas)
 UNIT (exa)
 UNIT (peta)
 UNIT (tera)
 UNIT (giga)
 UNIT (mega)
 UNIT (kilo)
 UNIT (hecto)
 UNIT (centi)
 UNIT (milli)
 UNIT (micro)
 UNIT (nano)
 UNIT (pico)
 UNIT (femto)
 UNIT (atto)
 UNIT (kilometers)
 UNIT (millimeters)
 UNIT (per_meter)
 UNIT (minutes)
 UNIT (hours)
 UNIT (hertz)
 UNIT (meters2)
 UNIT (kilometers2)
 UNIT (per_meter2)
 UNIT (meter_kelvins)
 UNIT (meters2_per_second)
 UNIT (kilograms_per_meter2)
 UNIT (meters3)
 UNIT (kilometers3)
 UNIT (meters3_per_second)
 UNIT (meters3_per_mol)
 UNIT (meters3_per_second2)
 UNIT (meters3_per_kilogram_per_second2)
 UNIT (kilograms_per_meter3)
 UNIT (meters_per_second)
 UNIT (meters_per_hour)
 UNIT (meters_per_second2)
 UNIT (newtons)
 UNIT (newtonmeters)
 UNIT (newtonseconds)
 UNIT (newtons_per_ampere2)
 UNIT (joules)
 UNIT (jouleseconds)
 UNIT (joules_per_second)
 UNIT (joules_per_kelvin)
 UNIT (joules_per_second_per_kilogram)
 UNIT (joules_per_kilogram_per_kelvin)
 UNIT (joules_per_mol)
 UNIT (joules_per_kelvin_per_mol)
 UNIT (pascals)
 UNIT (grays)
 UNIT (sieverts)
 UNIT (watts)
 UNIT (wattmeters2)
 UNIT (watts_per_meter2)
 UNIT (amperes_per_meter)
 UNIT (amperes_per_meter2)
 UNIT (ampere_hours)
 UNIT (coulombs)
 UNIT (coulombs_per_mol)
 UNIT (volts)
 UNIT (farads)
 UNIT (hertz_per_volt)
 UNIT (farads_per_meter)
 UNIT (ohms)
 UNIT (ohm_meters)
 UNIT (siemens)
 UNIT (siemens_per_meter)
 UNIT (henrys)
 UNIT (webers)
 UNIT (teslas)
 UNIT (joules_per_tesla)
 UNIT (steradians)
 UNIT (lumens)
 UNIT (lumenseconds)
 UNIT (lumens_per_watt)
 UNIT (lux)
 UNIT (kilograms_per_mol)
 UNIT (mols_per_meter3)
 UNIT (mols_per_kilogram)
 UNIT (mols_per_second)
 UNIT (per_mol)
 UNIT (kilograms_per_watt)
 UNIT (pounds)
 UNIT (feet)
 UNIT (nautical_miles)
 UNIT (inches)
 UNIT (statute_miles)
 UNIT (fahrenheit)
 UNIT (miles_per_hour)
 UNIT (knots)
 UNIT (celsius)
 UNIT (bytes)
 UNIT (bytes_per_second)
SI_INLINE angle sin (angle a)
 Calculates the sinus of an angle (a).
SI_INLINE angle cos (angle a)
 Calculates the cosinus of an angle (a).
SI_INLINE angle tan (angle a)
 Calculates the tangens of an angle (a).
SI_INLINE angle atan2 (angle y, angle x)
 Calculates the atangens of two angles.
SI_INLINE angle sin2 (angle x)
 Calculates sin²x.
SI_INLINE angle cos2 (angle x)
 Calculates cos²x.
SI_INLINE angle sqrt (angle a)
SI_INLINE angle atan2 (length y, length x)
template<typename T>
SI_INLINE_CONSTEXPR auto square (T x)
 Raise any number <x> to power of 2 (x² or x*x).
template<typename T>
SI_INLINE_CONSTEXPR auto cube (T x)
 Raise any number <x> to power of 3 (x³ or x*x*x).
template<typename T>
SI_INLINE_CONSTEXPR auto clamp (T x, T min, T max)
 Clamp any number <x> between <min> and <max> value.
template<class Dimension, class T>
SI_INLINE_CONSTEXPR quantity< Dimension, T > abs (const quantity< Dimension, T > &x)
template<class Dimension, class T>
SI_INLINE auto normalize (const quantity< Dimension, T > &x)
template<class Dimension, class T>
SI_INLINE auto norm (const quantity< Dimension, T > &x)
template<class T>
SI_INLINE auto distance (const quantity< dimension< 1, 0, 0, 0, 0, 0, 0 >, T > &a, const quantity< dimension< 1, 0, 0, 0, 0, 0, 0 >, T > &b)
template<long Exponent, class Dimension, class T>
SI_INLINE auto pow (const quantity< Dimension, T > &x)
template<long Degree, class Dimension, class T>
SI_INLINE auto root (const quantity< Dimension, T > &x)
template<class Dimension, class T>
SI_INLINE auto sqrt (const quantity< Dimension, T > &x)
template<class Lhs, class Rhs, class = enable_for_si<Lhs, Rhs>>
SI_INLINE_CONSTEXPR auto dot (const Lhs &lhs, const Rhs &rhs)
template<class Value, class Min, class Max>
SI_INLINE_CONSTEXPR auto clamp (const Value &x, const Min &min, const Max &max)
template<class Dimension, class T>
SI_INLINE_CONSTEXPR auto deangle (const quantity< Dimension, T > &x)

Variables

auto to_string_format = "%.2Lf %s"
 configurable, SI standard formatting by default
auto to_equivalent_format = "%.2Lf %s"
 configurable, SI standard formatting by default
auto to_percentage_format = "%.0Lf %s"
 configurable
SI_INLINE_CONSTEXPR detail::zero_t zero
template<class T>
SI_INLINE_CONSTEXPR bool is_si_v

Typedef Documentation

◆ angle

typedef long double SI::angle

basic datatype to hold a dimensionless angle, e.g. 3.1415

◆ dimensionless

typedef double SI::dimensionless

to hold a quantity without any unit, e.g. 42

◆ radians

typedef angle SI::radians

basic unit of radians for angle

◆ SIdouble

typedef double SI::SIdouble

internal datatype to hold floating point values

◆ unit

template<class Dimension, long long numerator = 1, long long denumerator = 1>
using SI::unit = detail::unit<detail::dimension_of_t<Dimension>, detail::ratio<numerator, denumerator>>

Function Documentation

◆ _join()

std::string SI::_join ( long double quantity,
const char * unit,
const char * formatString )
inline

◆ abs()

template<class Dimension, class T>
SI_INLINE_CONSTEXPR quantity< Dimension, T > SI::detail::abs ( const quantity< Dimension, T > & x)

◆ atan2() [1/2]

SI_INLINE angle SI::atan2 ( angle y,
angle x )
nodiscard

Calculates the atangens of two angles.

◆ atan2() [2/2]

SI_INLINE angle SI::atan2 ( length y,
length x )
nodiscard

◆ checkAstronomicalUnits()

void SI::checkAstronomicalUnits ( )
inline

Checks the astronomical units.

◆ checkBaseUnits()

void SI::checkBaseUnits ( )
inline

Checks the SI base units.

◆ checkDatatypes()

void SI::checkDatatypes ( )
inline

Checks the basic datatypes of C/C++ and libSI.

◆ checkDerivedUnits()

void SI::checkDerivedUnits ( )
inline

Checks the SI derived units.

◆ checkDigitalUnits()

void SI::checkDigitalUnits ( )
inline

Checks the digital units.

◆ checkFeatures()

void SI::checkFeatures ( )
inline

This just shows what's possible, the serious checks follow below.

◆ checkFunctionsAndTemplates()

void SI::checkFunctionsAndTemplates ( )
inline

Checks the functions and templates.

◆ checkImperialUnits()

void SI::checkImperialUnits ( )
inline

Checks the Imperial units.

◆ checkVariousUnits()

void SI::checkVariousUnits ( )
inline

Checks various units.

◆ clamp() [1/2]

template<class Value, class Min, class Max>
SI_INLINE_CONSTEXPR auto SI::detail::clamp ( const Value & x,
const Min & min,
const Max & max )

◆ clamp() [2/2]

template<typename T>
SI_INLINE_CONSTEXPR auto SI::clamp ( T x,
T min,
T max )
nodiscard

Clamp any number <x> between <min> and <max> value.

◆ cos()

SI_INLINE angle SI::cos ( angle a)
nodiscard

Calculates the cosinus of an angle (a).

◆ cos2()

SI_INLINE angle SI::cos2 ( angle x)
nodiscard

Calculates cos²x.

◆ cube()

template<typename T>
SI_INLINE_CONSTEXPR auto SI::cube ( T x)
nodiscard

Raise any number <x> to power of 3 (x³ or x*x*x).

◆ DATATYPE() [1/32]

SI::DATATYPE ( acceleration ,
1 ,
0 ,
- 2,
0 ,
0 ,
0 ,
0  )

◆ DATATYPE() [2/32]

SI::DATATYPE ( amount_of_substance ,
0 ,
0 ,
0 ,
0 ,
0 ,
1 ,
0  )

◆ DATATYPE() [3/32]

SI::DATATYPE ( angular_speed ,
0 ,
0 ,
- 1,
0 ,
1 ,
0 ,
0  )

◆ DATATYPE() [4/32]

SI::DATATYPE ( area ,
2 ,
0 ,
0 ,
0 ,
0 ,
0 ,
0  )

◆ DATATYPE() [5/32]

SI::DATATYPE ( density ,
- 3,
1 ,
0 ,
0 ,
0 ,
0 ,
0  )

◆ DATATYPE() [6/32]

SI::DATATYPE ( electric_charge ,
0 ,
0 ,
1 ,
0 ,
1 ,
0 ,
0  )

◆ DATATYPE() [7/32]

SI::DATATYPE ( electric_current ,
0 ,
0 ,
0 ,
0 ,
1 ,
0 ,
0  )

◆ DATATYPE() [8/32]

SI::DATATYPE ( electric_potential ,
2 ,
1 ,
- 3,
0 ,
- 1,
0 ,
0  )

◆ DATATYPE() [9/32]

SI::DATATYPE ( energy ,
2 ,
1 ,
- 2,
0 ,
0 ,
0 ,
0  )

◆ DATATYPE() [10/32]

SI::DATATYPE ( energy_per_mol ,
2 ,
1 ,
- 2,
0 ,
0 ,
1 ,
0  )

◆ DATATYPE() [11/32]

SI::DATATYPE ( force ,
1 ,
1 ,
- 2,
0 ,
0 ,
0 ,
0  )

◆ DATATYPE() [12/32]

SI::DATATYPE ( frequency ,
0 ,
0 ,
- 1,
0 ,
0 ,
0 ,
0  )

◆ DATATYPE() [13/32]

SI::DATATYPE ( impulse ,
1 ,
1 ,
- 1,
0 ,
0 ,
0 ,
0  )

◆ DATATYPE() [14/32]

SI::DATATYPE ( jerk ,
1 ,
0 ,
- 3,
0 ,
0 ,
0 ,
0  )

◆ DATATYPE() [15/32]

SI::DATATYPE ( length ,
1 ,
0 ,
0 ,
0 ,
0 ,
0 ,
0  )

◆ DATATYPE() [16/32]

SI::DATATYPE ( luminous_intensity ,
0 ,
0 ,
0 ,
0 ,
0 ,
0 ,
1  )

◆ DATATYPE() [17/32]

SI::DATATYPE ( mass ,
0 ,
1 ,
0 ,
0 ,
0 ,
0 ,
0  )

◆ DATATYPE() [18/32]

SI::DATATYPE ( mass_per_area ,
- 2,
1 ,
0 ,
0 ,
0 ,
0 ,
0  )

◆ DATATYPE() [19/32]

SI::DATATYPE ( mass_per_power ,
- 2,
0 ,
3 ,
0 ,
0 ,
0 ,
0  )

◆ DATATYPE() [20/32]

SI::DATATYPE ( per_amount_of_substance ,
0 ,
0 ,
0 ,
0 ,
- 1,
0 ,
0  )

◆ DATATYPE() [21/32]

SI::DATATYPE ( per_area ,
- 2,
0 ,
0 ,
0 ,
0 ,
0 ,
0  )

◆ DATATYPE() [22/32]

SI::DATATYPE ( per_length ,
- 1,
0 ,
0 ,
0 ,
0 ,
0 ,
0  )

◆ DATATYPE() [23/32]

SI::DATATYPE ( power ,
2 ,
1 ,
- 3,
0 ,
0 ,
0 ,
0  )

◆ DATATYPE() [24/32]

SI::DATATYPE ( power_intensity ,
0 ,
1 ,
- 3,
0 ,
0 ,
0 ,
0  )

◆ DATATYPE() [25/32]

SI::DATATYPE ( pressure ,
- 1,
1 ,
- 2,
0 ,
0 ,
0 ,
0  )

◆ DATATYPE() [26/32]

SI::DATATYPE ( specific_energy ,
2 ,
0 ,
- 2,
0 ,
0 ,
0 ,
0  )

◆ DATATYPE() [27/32]

SI::DATATYPE ( temperature ,
0 ,
0 ,
0 ,
1 ,
0 ,
0 ,
0  )

◆ DATATYPE() [28/32]

SI::DATATYPE ( time ,
0 ,
0 ,
1 ,
0 ,
0 ,
0 ,
0  )

◆ DATATYPE() [29/32]

SI::DATATYPE ( torque ,
2 ,
1 ,
- 2,
0 ,
0 ,
0 ,
0  )

◆ DATATYPE() [30/32]

SI::DATATYPE ( velocity ,
1 ,
0 ,
- 1,
0 ,
0 ,
0 ,
0  )

◆ DATATYPE() [31/32]

SI::DATATYPE ( volume ,
3 ,
0 ,
0 ,
0 ,
0 ,
0 ,
0  )

◆ DATATYPE() [32/32]

SI::DATATYPE ( volume_per_time_squared ,
3 ,
0 ,
- 2,
0 ,
0 ,
0 ,
0  )

◆ deangle()

template<class Dimension, class T>
SI_INLINE_CONSTEXPR auto SI::detail::deangle ( const quantity< Dimension, T > & x)

◆ distance()

template<class T>
SI_INLINE auto SI::detail::distance ( const quantity< dimension< 1, 0, 0, 0, 0, 0, 0 >, T > & a,
const quantity< dimension< 1, 0, 0, 0, 0, 0, 0 >, T > & b )

◆ dot()

template<class Lhs, class Rhs, class = enable_for_si<Lhs, Rhs>>
SI_INLINE_CONSTEXPR auto SI::detail::dot ( const Lhs & lhs,
const Rhs & rhs )

◆ from_string() [1/3]

bool SI::from_string ( const std::string & str,
length & result )
inline

The from_string() function.

◆ from_string() [2/3]

bool SI::from_string ( const std::string & str,
mass & result )
inline

◆ from_string() [3/3]

bool SI::from_string ( const std::string & str,
time & result )
inline

◆ LITERAL() [1/326]

SI::LITERAL ( _A ,
1 ,
amperes  )

◆ LITERAL() [2/326]

SI::LITERAL ( _Ah ,
1 ,
ampere_hours  )

◆ LITERAL() [3/326]

SI::LITERAL ( _Ang ,
1e- 10,
meters  )

◆ LITERAL() [4/326]

SI::LITERAL ( _atm ,
101 ' 325,
pascals  )

◆ LITERAL() [5/326]

SI::LITERAL ( _au ,
149 '597 '870 ' 700,
meters  )

◆ LITERAL() [6/326]

SI::LITERAL ( _bar ,
1e5 ,
pascals  )

◆ LITERAL() [7/326]

SI::LITERAL ( _bpm ,
1.0/60. 0,
hertz  )

◆ LITERAL() [8/326]

SI::LITERAL ( _Bq ,
1 ,
hertz  )

◆ LITERAL() [9/326]

SI::LITERAL ( _byte ,
1 ,
bytes  )

◆ LITERAL() [10/326]

SI::LITERAL ( _bytes_per_s ,
1 ,
bytes_per_second  )

◆ LITERAL() [11/326]

SI::LITERAL ( _C ,
1 ,
coulombs  )

◆ LITERAL() [12/326]

SI::LITERAL ( _cable ,
185. 2,
meters  )

◆ LITERAL() [13/326]

SI::LITERAL ( _cal ,
4. 1868,
joules  )

◆ LITERAL() [14/326]

SI::LITERAL ( _cd ,
1 ,
candelas  )

◆ LITERAL() [15/326]

SI::LITERAL ( _ch ,
20. 1168,
meters  )

◆ LITERAL() [16/326]

SI::LITERAL ( _cm² ,
1e- 4,
meters2  )

◆ LITERAL() [17/326]

SI::LITERAL ( _cm³ ,
1e- 6,
meters3  )

◆ LITERAL() [18/326]

SI::LITERAL ( _cm ,
1e- 2,
meters  )

◆ LITERAL() [19/326]

SI::LITERAL ( _Da ,
1.660 '539 '068 '9252e- 27,
kilograms  )

◆ LITERAL() [20/326]

SI::LITERAL ( _day ,
86400 ,
seconds  )

◆ LITERAL() [21/326]

SI::LITERAL ( _days ,
86400 ,
seconds  )

◆ LITERAL() [22/326]

SI::LITERAL ( _deg ,
0. 01745329251994329576923690768489,
radians  )

◆ LITERAL() [23/326]

SI::LITERAL ( _degC ,
1 ,
celsius  )

◆ LITERAL() [24/326]

SI::LITERAL ( _degF ,
1 ,
fahrenheit  )

◆ LITERAL() [25/326]

SI::LITERAL ( _degR ,
5.0/9. 0,
kelvins  )

◆ LITERAL() [26/326]

SI::LITERAL ( _dm³ ,
1e- 3,
meters3  )

◆ LITERAL() [27/326]

SI::LITERAL ( _dm ,
1e- 1,
meters  )

◆ LITERAL() [28/326]

SI::LITERAL ( _EB ,
1e18 ,
bytes  )

◆ LITERAL() [29/326]

SI::LITERAL ( _EN ,
1e18 ,
newtons  )

◆ LITERAL() [30/326]

SI::LITERAL ( _eV ,
1.602 '176 '634e- 19,
joules  )

◆ LITERAL() [31/326]

SI::LITERAL ( _F ,
1 ,
farads  )

◆ LITERAL() [32/326]

SI::LITERAL ( _fmol ,
1e- 15,
moles  )

◆ LITERAL() [33/326]

SI::LITERAL ( _ft ,
0. 3048,
meters  )

◆ LITERAL() [34/326]

SI::LITERAL ( _ft_per_min ,
0. 00508,
meters_per_second  )

◆ LITERAL() [35/326]

SI::LITERAL ( _g ,
1e- 3,
kilograms  )

◆ LITERAL() [36/326]

SI::LITERAL ( _g_per_cm³ ,
1e3 ,
kilograms_per_meter3  )

◆ LITERAL() [37/326]

SI::LITERAL ( _g_per_m³ ,
1e- 3,
kilograms_per_meter3  )

◆ LITERAL() [38/326]

SI::LITERAL ( _GA ,
1e9 ,
amperes  )

◆ LITERAL() [39/326]

SI::LITERAL ( _GAh ,
1e9 ,
ampere_hours  )

◆ LITERAL() [40/326]

SI::LITERAL ( _gal ,
4.54609e- 3,
meters3  )

◆ LITERAL() [41/326]

SI::LITERAL ( _GB ,
1e9 ,
bytes  )

◆ LITERAL() [42/326]

SI::LITERAL ( _Gbar ,
1e14 ,
pascals  )

◆ LITERAL() [43/326]

SI::LITERAL ( _GBps ,
1e9 ,
bytes_per_second  )

◆ LITERAL() [44/326]

SI::LITERAL ( _Gbps ,
1e9/ 8,
bytes_per_second  )

◆ LITERAL() [45/326]

SI::LITERAL ( _GBq ,
1e9 ,
hertz  )

◆ LITERAL() [46/326]

SI::LITERAL ( _GC ,
1e9 ,
coulombs  )

◆ LITERAL() [47/326]

SI::LITERAL ( _GHz ,
1e9 ,
hertz  )

◆ LITERAL() [48/326]

SI::LITERAL ( _GiB ,
1 '073 '741 ' 824,
bytes  )

◆ LITERAL() [49/326]

SI::LITERAL ( _GiBps ,
1 '073 '741 ' 824,
bytes_per_second  )

◆ LITERAL() [50/326]

SI::LITERAL ( _GJ ,
1e9 ,
joules  )

◆ LITERAL() [51/326]

SI::LITERAL ( _GK ,
1e9 ,
kelvins  )

◆ LITERAL() [52/326]

SI::LITERAL ( _Gm ,
1e9 ,
meters  )

◆ LITERAL() [53/326]

SI::LITERAL ( _Gmol ,
1e9 ,
moles  )

◆ LITERAL() [54/326]

SI::LITERAL ( _GN ,
1e9 ,
newtons  )

◆ LITERAL() [55/326]

SI::LITERAL ( _GOhm ,
1e9 ,
ohms  )

◆ LITERAL() [56/326]

SI::LITERAL ( _GPa ,
1e9 ,
pascals  )

◆ LITERAL() [57/326]

SI::LITERAL ( _Gpc ,
30 '856 '775 '814 '913 ' 673e9,
meters  )

◆ LITERAL() [58/326]

SI::LITERAL ( _GS ,
1e9 ,
siemens  )

◆ LITERAL() [59/326]

SI::LITERAL ( _Gt ,
1e12 ,
kilograms  )

◆ LITERAL() [60/326]

SI::LITERAL ( _GV ,
1e9 ,
volts  )

◆ LITERAL() [61/326]

SI::LITERAL ( _GW ,
1e9 ,
watts  )

◆ LITERAL() [62/326]

SI::LITERAL ( _GWh ,
3. 6e12,
watts  )

◆ LITERAL() [63/326]

SI::LITERAL ( _Gy ,
1 ,
grays  )

◆ LITERAL() [64/326]

SI::LITERAL ( _H ,
1 ,
henrys  )

◆ LITERAL() [65/326]

SI::LITERAL ( _h ,
3600 ,
seconds  )

◆ LITERAL() [66/326]

SI::LITERAL ( _hl ,
0. 1,
meters3  )

◆ LITERAL() [67/326]

SI::LITERAL ( _hm² ,
1e4 ,
meters2  )

◆ LITERAL() [68/326]

SI::LITERAL ( _hp ,
745. 69987158227022,
watts  )

◆ LITERAL() [69/326]

SI::LITERAL ( _hPa ,
100 ,
pascals  )

◆ LITERAL() [70/326]

SI::LITERAL ( _Hz ,
1 ,
hertz  )

◆ LITERAL() [71/326]

SI::LITERAL ( _in ,
0. 0254,
meters  )

◆ LITERAL() [72/326]

SI::LITERAL ( _in_per_h ,
0. 0000070556,
meters_per_second  )

◆ LITERAL() [73/326]

SI::LITERAL ( _in_per_s ,
0. 0254,
meters_per_second  )

◆ LITERAL() [74/326]

SI::LITERAL ( _inHg ,
3 '386. 39,
pascals  )

◆ LITERAL() [75/326]

SI::LITERAL ( _J ,
1 ,
joules  )

◆ LITERAL() [76/326]

SI::LITERAL ( _K ,
1 ,
kelvins  )

◆ LITERAL() [77/326]

SI::LITERAL ( _kA ,
1e3 ,
amperes  )

◆ LITERAL() [78/326]

SI::LITERAL ( _kAh ,
1e3 ,
ampere_hours  )

◆ LITERAL() [79/326]

SI::LITERAL ( _kat ,
1 ,
mols_per_second  )

◆ LITERAL() [80/326]

SI::LITERAL ( _kB ,
1e3 ,
bytes  )

◆ LITERAL() [81/326]

SI::LITERAL ( _kbar ,
1e8 ,
pascals  )

◆ LITERAL() [82/326]

SI::LITERAL ( _KBps ,
1e3 ,
bytes_per_second  )

◆ LITERAL() [83/326]

SI::LITERAL ( _Kbps ,
1e3/ 8,
bytes_per_second  )

◆ LITERAL() [84/326]

SI::LITERAL ( _kBq ,
1e3 ,
hertz  )

◆ LITERAL() [85/326]

SI::LITERAL ( _kC ,
1e3 ,
coulombs  )

◆ LITERAL() [86/326]

SI::LITERAL ( _kcal ,
4186. 8,
joules  )

◆ LITERAL() [87/326]

SI::LITERAL ( _kcd ,
1e3 ,
candelas  )

◆ LITERAL() [88/326]

SI::LITERAL ( _kg ,
1 ,
kilograms  )

◆ LITERAL() [89/326]

SI::LITERAL ( _kg_per_cm³ ,
1e- 6,
kilograms_per_meter3  )

◆ LITERAL() [90/326]

SI::LITERAL ( _kg_per_kW ,
1e- 3,
kilograms_per_watt  )

◆ LITERAL() [91/326]

SI::LITERAL ( _kg_per_m² ,
1 ,
kilograms_per_meter2  )

◆ LITERAL() [92/326]

SI::LITERAL ( _kg_per_m³ ,
1 ,
kilograms_per_meter3  )

◆ LITERAL() [93/326]

SI::LITERAL ( _kg_per_mol ,
1 ,
kilograms_per_mol  )

◆ LITERAL() [94/326]

SI::LITERAL ( _kg_per_W ,
1 ,
kilograms_per_watt  )

◆ LITERAL() [95/326]

SI::LITERAL ( _kHz ,
1e3 ,
hertz  )

◆ LITERAL() [96/326]

SI::LITERAL ( _kiB ,
1024 ,
bytes  )

◆ LITERAL() [97/326]

SI::LITERAL ( _KiBps ,
1024 ,
bytes_per_second  )

◆ LITERAL() [98/326]

SI::LITERAL ( _kJ ,
1e3 ,
joules  )

◆ LITERAL() [99/326]

SI::LITERAL ( _kJ_per_mol ,
1e3 ,
joules_per_mol  )

◆ LITERAL() [100/326]

SI::LITERAL ( _kK ,
1e3 ,
kelvins  )

◆ LITERAL() [101/326]

SI::LITERAL ( _kl ,
1 ,
meters3  )

◆ LITERAL() [102/326]

SI::LITERAL ( _klx ,
1e3 ,
lux  )

◆ LITERAL() [103/326]

SI::LITERAL ( _km² ,
1e6 ,
meters2  )

◆ LITERAL() [104/326]

SI::LITERAL ( _km³ ,
1e9 ,
meters3  )

◆ LITERAL() [105/326]

SI::LITERAL ( _km³_per_s² ,
1e9 ,
meters3_per_second2  )

◆ LITERAL() [106/326]

SI::LITERAL ( _km ,
1e3 ,
meters  )

◆ LITERAL() [107/326]

SI::LITERAL ( _km_per_h ,
1e3 ,
meters_per_hour  )

◆ LITERAL() [108/326]

SI::LITERAL ( _km_per_s² ,
1e3 ,
meters_per_second2  )

◆ LITERAL() [109/326]

SI::LITERAL ( _km_per_s ,
1e3 ,
meters_per_second  )

◆ LITERAL() [110/326]

SI::LITERAL ( _kmol ,
1e3 ,
moles  )

◆ LITERAL() [111/326]

SI::LITERAL ( _kn ,
1852 ,
meters_per_hour  )

◆ LITERAL() [112/326]

SI::LITERAL ( _kN ,
1e3 ,
newtons  )

◆ LITERAL() [113/326]

SI::LITERAL ( _kOhm ,
1e3 ,
ohms  )

◆ LITERAL() [114/326]

SI::LITERAL ( _kPa ,
1e3 ,
pascals  )

◆ LITERAL() [115/326]

SI::LITERAL ( _kpc ,
30 '856 '775 '814 '913 ' 673e3,
meters  )

◆ LITERAL() [116/326]

SI::LITERAL ( _kS ,
1e3 ,
siemens  )

◆ LITERAL() [117/326]

SI::LITERAL ( _kS_per_m ,
1e3 ,
siemens_per_meter  )

◆ LITERAL() [118/326]

SI::LITERAL ( _kT ,
1e3 ,
teslas  )

◆ LITERAL() [119/326]

SI::LITERAL ( _kt ,
1e6 ,
kilograms  )

◆ LITERAL() [120/326]

SI::LITERAL ( _kV ,
1e3 ,
volts  )

◆ LITERAL() [121/326]

SI::LITERAL ( _kW ,
1e3 ,
watts  )

◆ LITERAL() [122/326]

SI::LITERAL ( _kW_per_m² ,
1e3 ,
watts_per_meter2  )

◆ LITERAL() [123/326]

SI::LITERAL ( _kWh ,
3. 6e6,
watts  )

◆ LITERAL() [124/326]

SI::LITERAL ( _kWh_per_kg ,
3. 6e6,
joules_per_second_per_kilogram  )

◆ LITERAL() [125/326]

SI::LITERAL ( _l ,
1e- 3,
meters3  )

◆ LITERAL() [126/326]

SI::LITERAL ( _l_per_min ,
1.0/60000. 0,
meters3_per_second  )

◆ LITERAL() [127/326]

SI::LITERAL ( _l_per_s ,
1e- 3,
meters3_per_second  )

◆ LITERAL() [128/326]

SI::LITERAL ( _lb ,
0.453 '592 ' 37,
kilograms  )

◆ LITERAL() [129/326]

SI::LITERAL ( _lm ,
1 ,
lumens  )

◆ LITERAL() [130/326]

SI::LITERAL ( _lm_per_W ,
1 ,
lumens_per_watt  )

◆ LITERAL() [131/326]

SI::LITERAL ( _lm_s ,
1 ,
lumenseconds  )

◆ LITERAL() [132/326]

SI::LITERAL ( _ls ,
299 '792 ' 458,
meters  )

◆ LITERAL() [133/326]

SI::LITERAL ( _lx ,
1 ,
lux  )

◆ LITERAL() [134/326]

SI::LITERAL ( _ly ,
9 '460 '730 '472 '580 ' 800,
meters  )

◆ LITERAL() [135/326]

SI::LITERAL ( _m² ,
1 ,
meters2  )

◆ LITERAL() [136/326]

SI::LITERAL ( _m²_per_s ,
1 ,
meters2_per_second  )

◆ LITERAL() [137/326]

SI::LITERAL ( _m³ ,
1 ,
meters3  )

◆ LITERAL() [138/326]

SI::LITERAL ( _m³_per_s ,
1 ,
meters3_per_second  )

◆ LITERAL() [139/326]

SI::LITERAL ( _m ,
1 ,
meters  )

◆ LITERAL() [140/326]

SI::LITERAL ( _m_per_h ,
1 ,
meters_per_hour  )

◆ LITERAL() [141/326]

SI::LITERAL ( _m_per_s² ,
1 ,
meters_per_second2  )

◆ LITERAL() [142/326]

SI::LITERAL ( _m_per_s ,
1 ,
meters_per_second  )

◆ LITERAL() [143/326]

SI::LITERAL ( _mA ,
1e- 3,
amperes  )

◆ LITERAL() [144/326]

SI::LITERAL ( _MA ,
1e6 ,
amperes  )

◆ LITERAL() [145/326]

SI::LITERAL ( _Mach ,
330 ,
meters_per_second  )

◆ LITERAL() [146/326]

SI::LITERAL ( _mAh ,
1e- 3,
ampere_hours  )

◆ LITERAL() [147/326]

SI::LITERAL ( _MAh ,
1e6 ,
ampere_hours  )

◆ LITERAL() [148/326]

SI::LITERAL ( _MB ,
1e6 ,
bytes  )

◆ LITERAL() [149/326]

SI::LITERAL ( _Mbar ,
1e11 ,
pascals  )

◆ LITERAL() [150/326]

SI::LITERAL ( _mbar ,
1e2 ,
pascals  )

◆ LITERAL() [151/326]

SI::LITERAL ( _MBps ,
1e6 ,
bytes_per_second  )

◆ LITERAL() [152/326]

SI::LITERAL ( _Mbps ,
1e6/ 8,
bytes_per_second  )

◆ LITERAL() [153/326]

SI::LITERAL ( _MBq ,
1e6 ,
hertz  )

◆ LITERAL() [154/326]

SI::LITERAL ( _mC ,
1e- 3,
coulombs  )

◆ LITERAL() [155/326]

SI::LITERAL ( _MC ,
1e6 ,
coulombs  )

◆ LITERAL() [156/326]

SI::LITERAL ( _Mcal ,
4186800 ,
joules  )

◆ LITERAL() [157/326]

SI::LITERAL ( _Mearth ,
5. 9742e24,
kilograms  )

◆ LITERAL() [158/326]

SI::LITERAL ( _mF ,
1e- 3,
farads  )

◆ LITERAL() [159/326]

SI::LITERAL ( _mg ,
1e- 6,
kilograms  )

◆ LITERAL() [160/326]

SI::LITERAL ( _mg_per_m³ ,
1e- 9,
kilograms_per_meter3  )

◆ LITERAL() [161/326]

SI::LITERAL ( _mGy ,
1e- 3,
grays  )

◆ LITERAL() [162/326]

SI::LITERAL ( _mH ,
1e- 3,
henrys  )

◆ LITERAL() [163/326]

SI::LITERAL ( _mHz ,
1e- 3,
hertz  )

◆ LITERAL() [164/326]

SI::LITERAL ( _MHz ,
1e6 ,
hertz  )

◆ LITERAL() [165/326]

SI::LITERAL ( _mi ,
1 '609. 344,
meters  )

◆ LITERAL() [166/326]

SI::LITERAL ( _MiB ,
1 '048 ' 576,
bytes  )

◆ LITERAL() [167/326]

SI::LITERAL ( _MiBps ,
1 '048 ' 576,
bytes_per_second  )

◆ LITERAL() [168/326]

SI::LITERAL ( _min ,
60 ,
seconds  )

◆ LITERAL() [169/326]

SI::LITERAL ( _mJ ,
1e- 3,
joules  )

◆ LITERAL() [170/326]

SI::LITERAL ( _MJ ,
1e6 ,
joules  )

◆ LITERAL() [171/326]

SI::LITERAL ( _Mjup ,
1. 898e27,
kilograms  )

◆ LITERAL() [172/326]

SI::LITERAL ( _mK ,
1e- 3,
kelvins  )

◆ LITERAL() [173/326]

SI::LITERAL ( _MK ,
1e6 ,
kelvins  )

◆ LITERAL() [174/326]

SI::LITERAL ( _mkat ,
1e- 3,
mols_per_second  )

◆ LITERAL() [175/326]

SI::LITERAL ( _ml ,
1e- 6,
meters3  )

◆ LITERAL() [176/326]

SI::LITERAL ( _Ml ,
1e3 ,
meters3  )

◆ LITERAL() [177/326]

SI::LITERAL ( _mlx ,
1e- 3,
lux  )

◆ LITERAL() [178/326]

SI::LITERAL ( _mm² ,
1e- 6,
meters2  )

◆ LITERAL() [179/326]

SI::LITERAL ( _mm³ ,
1e- 9,
meters3  )

◆ LITERAL() [180/326]

SI::LITERAL ( _mm ,
1e- 3,
meters  )

◆ LITERAL() [181/326]

SI::LITERAL ( _Mm ,
1e6 ,
meters  )

◆ LITERAL() [182/326]

SI::LITERAL ( _mm_per_h ,
1e- 3,
meters_per_hour  )

◆ LITERAL() [183/326]

SI::LITERAL ( _mm_per_s ,
1e- 3,
meters_per_second  )

◆ LITERAL() [184/326]

SI::LITERAL ( _mmHg ,
101 '325.0/760. 0,
pascals  )

◆ LITERAL() [185/326]

SI::LITERAL ( _mmol ,
1e- 3,
moles  )

◆ LITERAL() [186/326]

SI::LITERAL ( _Mmol ,
1e6 ,
moles  )

◆ LITERAL() [187/326]

SI::LITERAL ( _Mmoon ,
7. 34767309e22,
kilograms  )

◆ LITERAL() [188/326]

SI::LITERAL ( _mN ,
1e- 3,
newtons  )

◆ LITERAL() [189/326]

SI::LITERAL ( _MN ,
1e6 ,
newtons  )

◆ LITERAL() [190/326]

SI::LITERAL ( _mOhm ,
1e- 3,
ohms  )

◆ LITERAL() [191/326]

SI::LITERAL ( _MOhm ,
1e6 ,
ohms  )

◆ LITERAL() [192/326]

SI::LITERAL ( _mol ,
1 ,
moles  )

◆ LITERAL() [193/326]

SI::LITERAL ( _mPa ,
1e- 3,
pascals  )

◆ LITERAL() [194/326]

SI::LITERAL ( _MPa ,
1e6 ,
pascals  )

◆ LITERAL() [195/326]

SI::LITERAL ( _Mpc ,
30 '856 '775 '814 '913 ' 673e6,
meters  )

◆ LITERAL() [196/326]

SI::LITERAL ( _mph ,
. 44704,
meters_per_second  )

◆ LITERAL() [197/326]

SI::LITERAL ( _ms ,
1e- 3,
seconds  )

◆ LITERAL() [198/326]

SI::LITERAL ( _mS ,
1e- 3,
siemens  )

◆ LITERAL() [199/326]

SI::LITERAL ( _MS ,
1e6 ,
siemens  )

◆ LITERAL() [200/326]

SI::LITERAL ( _MS_per_m ,
1e6 ,
siemens_per_meter  )

◆ LITERAL() [201/326]

SI::LITERAL ( _Msun ,
1. 98892e30,
kilograms  )

◆ LITERAL() [202/326]

SI::LITERAL ( _mSv ,
1e- 3,
sieverts  )

◆ LITERAL() [203/326]

SI::LITERAL ( _mT ,
1e- 3,
teslas  )

◆ LITERAL() [204/326]

SI::LITERAL ( _Mt ,
1e9 ,
kilograms  )

◆ LITERAL() [205/326]

SI::LITERAL ( _mV ,
1e- 3,
volts  )

◆ LITERAL() [206/326]

SI::LITERAL ( _MV ,
1e6 ,
volts  )

◆ LITERAL() [207/326]

SI::LITERAL ( _mW ,
1e- 3,
watts  )

◆ LITERAL() [208/326]

SI::LITERAL ( _MW ,
1e6 ,
watts  )

◆ LITERAL() [209/326]

SI::LITERAL ( _mW_per_m² ,
1e- 3,
watts_per_meter2  )

◆ LITERAL() [210/326]

SI::LITERAL ( _MW_per_m² ,
1e6 ,
watts_per_meter2  )

◆ LITERAL() [211/326]

SI::LITERAL ( _MWh ,
3. 6e9,
watts  )

◆ LITERAL() [212/326]

SI::LITERAL ( _N ,
1 ,
newtons  )

◆ LITERAL() [213/326]

SI::LITERAL ( _nA ,
1e- 9,
amperes  )

◆ LITERAL() [214/326]

SI::LITERAL ( _nAh ,
1e- 9,
ampere_hours  )

◆ LITERAL() [215/326]

SI::LITERAL ( _nC ,
1e- 9,
coulombs  )

◆ LITERAL() [216/326]

SI::LITERAL ( _nF ,
1e- 9,
farads  )

◆ LITERAL() [217/326]

SI::LITERAL ( _ng ,
1e- 12,
kilograms  )

◆ LITERAL() [218/326]

SI::LITERAL ( _nH ,
1e- 9,
henrys  )

◆ LITERAL() [219/326]

SI::LITERAL ( _nK ,
1e- 9,
kelvins  )

◆ LITERAL() [220/326]

SI::LITERAL ( _nkat ,
1e- 9,
mols_per_second  )

◆ LITERAL() [221/326]

SI::LITERAL ( _nl ,
1e- 12,
meters3  )

◆ LITERAL() [222/326]

SI::LITERAL ( _Nm ,
1 ,
newtonmeters  )

◆ LITERAL() [223/326]

SI::LITERAL ( _NM ,
1852 ,
meters  )

◆ LITERAL() [224/326]

SI::LITERAL ( _nm ,
1e- 9,
meters  )

◆ LITERAL() [225/326]

SI::LITERAL ( _nmi ,
1852 ,
meters  )

◆ LITERAL() [226/326]

SI::LITERAL ( _nmol ,
1e- 9,
moles  )

◆ LITERAL() [227/326]

SI::LITERAL ( _ns ,
1e- 9,
seconds  )

◆ LITERAL() [228/326]

SI::LITERAL ( _nS ,
1e- 9,
siemens  )

◆ LITERAL() [229/326]

SI::LITERAL ( _nT ,
1e- 9,
teslas  )

◆ LITERAL() [230/326]

SI::LITERAL ( _nV ,
1e- 9,
volts  )

◆ LITERAL() [231/326]

SI::LITERAL ( _Ohm ,
1 ,
ohms  )

◆ LITERAL() [232/326]

SI::LITERAL ( _Ohm_m ,
1 ,
ohm_meters  )

◆ LITERAL() [233/326]

SI::LITERAL ( _oz ,
0.028 '349 '523 ' 125,
kilograms  )

◆ LITERAL() [234/326]

SI::LITERAL ( _Pa ,
1 ,
pascals  )

◆ LITERAL() [235/326]

SI::LITERAL ( _pA ,
1e- 12,
amperes  )

◆ LITERAL() [236/326]

SI::LITERAL ( _pAh ,
1e- 12,
ampere_hours  )

◆ LITERAL() [237/326]

SI::LITERAL ( _PB ,
1e15 ,
bytes  )

◆ LITERAL() [238/326]

SI::LITERAL ( _PBps ,
1e15 ,
bytes_per_second  )

◆ LITERAL() [239/326]

SI::LITERAL ( _pC ,
1e- 12,
coulombs  )

◆ LITERAL() [240/326]

SI::LITERAL ( _pc ,
30 '856 '775 '814 '913 ' 673e0,
meters  )

◆ LITERAL() [241/326]

SI::LITERAL ( _per_μm² ,
1e9 ,
per_meter2  )

◆ LITERAL() [242/326]

SI::LITERAL ( _per_cm² ,
1e4 ,
per_meter2  )

◆ LITERAL() [243/326]

SI::LITERAL ( _per_hm² ,
1e- 4,
per_meter2  )

◆ LITERAL() [244/326]

SI::LITERAL ( _per_km² ,
1e- 6,
per_meter2  )

◆ LITERAL() [245/326]

SI::LITERAL ( _per_m² ,
1 ,
per_meter2  )

◆ LITERAL() [246/326]

SI::LITERAL ( _per_mm² ,
1e6 ,
per_meter2  )

◆ LITERAL() [247/326]

SI::LITERAL ( _percent ,
0. 01,
dimensionless  )

◆ LITERAL() [248/326]

SI::LITERAL ( _pF ,
1e- 12,
farads  )

◆ LITERAL() [249/326]

SI::LITERAL ( _PHz ,
1e15 ,
hertz  )

◆ LITERAL() [250/326]

SI::LITERAL ( _PJ ,
1e15 ,
joules  )

◆ LITERAL() [251/326]

SI::LITERAL ( _pl ,
1e- 15,
meters3  )

◆ LITERAL() [252/326]

SI::LITERAL ( _plx ,
1e- 9,
lux  )

◆ LITERAL() [253/326]

SI::LITERAL ( _pm ,
1e- 12,
meters  )

◆ LITERAL() [254/326]

SI::LITERAL ( _Pm ,
1e15 ,
meters  )

◆ LITERAL() [255/326]

SI::LITERAL ( _pmol ,
1e- 12,
moles  )

◆ LITERAL() [256/326]

SI::LITERAL ( _pN ,
1e- 9,
newtons  )

◆ LITERAL() [257/326]

SI::LITERAL ( _PN ,
1e15 ,
newtons  )

◆ LITERAL() [258/326]

SI::LITERAL ( _ps ,
1e- 12,
seconds  )

◆ LITERAL() [259/326]

SI::LITERAL ( _PS ,
735. 49875,
watts  )

◆ LITERAL() [260/326]

SI::LITERAL ( _psi ,
6 '894. 76,
pascals  )

◆ LITERAL() [261/326]

SI::LITERAL ( _Pt ,
1e18 ,
kilograms  )

◆ LITERAL() [262/326]

SI::LITERAL ( _pV ,
1e- 12,
volts  )

◆ LITERAL() [263/326]

SI::LITERAL ( _QB ,
1e30 ,
bytes  )

◆ LITERAL() [264/326]

SI::LITERAL ( _rad ,
1 ,
radians  )

◆ LITERAL() [265/326]

SI::LITERAL ( _RB ,
1e27 ,
bytes  )

◆ LITERAL() [266/326]

SI::LITERAL ( _s ,
1 ,
seconds  )

◆ LITERAL() [267/326]

SI::LITERAL ( _S ,
1 ,
siemens  )

◆ LITERAL() [268/326]

SI::LITERAL ( _S_per_m ,
1 ,
siemens_per_meter  )

◆ LITERAL() [269/326]

SI::LITERAL ( _shp ,
745. 69987158227022,
watts  )

◆ LITERAL() [270/326]

SI::LITERAL ( _smoot ,
1. 7018,
meters  )

◆ LITERAL() [271/326]

SI::LITERAL ( _sr ,
1 ,
steradians  )

◆ LITERAL() [272/326]

SI::LITERAL ( _Sv ,
1 ,
sieverts  )

◆ LITERAL() [273/326]

SI::LITERAL ( _T ,
1 ,
teslas  )

◆ LITERAL() [274/326]

SI::LITERAL ( _t ,
1e3 ,
kilograms  )

◆ LITERAL() [275/326]

SI::LITERAL ( _t_per_m² ,
1e3 ,
kilograms_per_meter2  )

◆ LITERAL() [276/326]

SI::LITERAL ( _t_per_m³ ,
1e3 ,
kilograms_per_meter3  )

◆ LITERAL() [277/326]

SI::LITERAL ( _TB ,
1e12 ,
bytes  )

◆ LITERAL() [278/326]

SI::LITERAL ( _TBps ,
1e12 ,
bytes_per_second  )

◆ LITERAL() [279/326]

SI::LITERAL ( _Tbps ,
1e12/ 8,
bytes_per_second  )

◆ LITERAL() [280/326]

SI::LITERAL ( _TBq ,
1e12 ,
hertz  )

◆ LITERAL() [281/326]

SI::LITERAL ( _THz ,
1e12 ,
hertz  )

◆ LITERAL() [282/326]

SI::LITERAL ( _TiB ,
1 '099 '511 '627 ' 776,
bytes  )

◆ LITERAL() [283/326]

SI::LITERAL ( _TiBps ,
1 '099 '511 '627 ' 776,
bytes_per_second  )

◆ LITERAL() [284/326]

SI::LITERAL ( _TJ ,
1e12 ,
joules  )

◆ LITERAL() [285/326]

SI::LITERAL ( _Tm ,
1e12 ,
meters  )

◆ LITERAL() [286/326]

SI::LITERAL ( _TN ,
1e12 ,
newtons  )

◆ LITERAL() [287/326]

SI::LITERAL ( _Torr ,
101 '325.0/760. 0,
pascals  )

◆ LITERAL() [288/326]

SI::LITERAL ( _Tt ,
1e15 ,
kilograms  )

◆ LITERAL() [289/326]

SI::LITERAL ( _TW ,
1e12 ,
watts  )

◆ LITERAL() [290/326]

SI::LITERAL ( _TWh ,
3. 6e15,
watts  )

◆ LITERAL() [291/326]

SI::LITERAL ( _uA ,
1e- 6,
amperes  )

◆ LITERAL() [292/326]

SI::LITERAL ( _uAh ,
1e- 6,
ampere_hours  )

◆ LITERAL() [293/326]

SI::LITERAL ( _uC ,
1e- 6,
coulombs  )

◆ LITERAL() [294/326]

SI::LITERAL ( _uF ,
1e- 6,
farads  )

◆ LITERAL() [295/326]

SI::LITERAL ( _ug ,
1e- 9,
kilograms  )

◆ LITERAL() [296/326]

SI::LITERAL ( _uGy ,
1e- 6,
grays  )

◆ LITERAL() [297/326]

SI::LITERAL ( _uH ,
1e- 6,
henrys  )

◆ LITERAL() [298/326]

SI::LITERAL ( _uHz ,
1e- 6,
hertz  )

◆ LITERAL() [299/326]

SI::LITERAL ( _uK ,
1e- 6,
kelvins  )

◆ LITERAL() [300/326]

SI::LITERAL ( _ukat ,
1e- 6,
mols_per_second  )

◆ LITERAL() [301/326]

SI::LITERAL ( _ul ,
1e- 9,
meters3  )

◆ LITERAL() [302/326]

SI::LITERAL ( _ulx ,
1e- 6,
lux  )

◆ LITERAL() [303/326]

SI::LITERAL ( _um² ,
1e- 9,
meters2  )

◆ LITERAL() [304/326]

SI::LITERAL ( _um³ ,
1e- 12,
meters3  )

◆ LITERAL() [305/326]

SI::LITERAL ( _um ,
1e- 6,
meters  )

◆ LITERAL() [306/326]

SI::LITERAL ( _umol ,
1e- 6,
moles  )

◆ LITERAL() [307/326]

SI::LITERAL ( _uN ,
1e- 6,
newtons  )

◆ LITERAL() [308/326]

SI::LITERAL ( _uOhm ,
1e- 6,
ohms  )

◆ LITERAL() [309/326]

SI::LITERAL ( _uPa ,
1e- 6,
pascals  )

◆ LITERAL() [310/326]

SI::LITERAL ( _us ,
1e- 6,
seconds  )

◆ LITERAL() [311/326]

SI::LITERAL ( _uS ,
1e- 6,
siemens  )

◆ LITERAL() [312/326]

SI::LITERAL ( _uSv ,
1e- 6,
sieverts  )

◆ LITERAL() [313/326]

SI::LITERAL ( _uT ,
1e- 6,
teslas  )

◆ LITERAL() [314/326]

SI::LITERAL ( _uV ,
1e- 6,
volts  )

◆ LITERAL() [315/326]

SI::LITERAL ( _uW ,
1e- 6,
watts  )

◆ LITERAL() [316/326]

SI::LITERAL ( _uW_per_m² ,
1e- 6,
watts_per_meter2  )

◆ LITERAL() [317/326]

SI::LITERAL ( _V ,
1 ,
volts  )

◆ LITERAL() [318/326]

SI::LITERAL ( _W ,
1 ,
watts  )

◆ LITERAL() [319/326]

SI::LITERAL ( _W_per_m² ,
1 ,
watts_per_meter2  )

◆ LITERAL() [320/326]

SI::LITERAL ( _Wb ,
1 ,
webers  )

◆ LITERAL() [321/326]

SI::LITERAL ( _Wh ,
3. 6e3,
watts  )

◆ LITERAL() [322/326]

SI::LITERAL ( _Wh_per_kg ,
3. 6e3,
joules_per_second_per_kilogram  )

◆ LITERAL() [323/326]

SI::LITERAL ( _YB ,
1e24 ,
bytes  )

◆ LITERAL() [324/326]

SI::LITERAL ( _yd ,
0. 9144,
meters  )

◆ LITERAL() [325/326]

SI::LITERAL ( _ZB ,
1e21 ,
bytes  )

◆ LITERAL() [326/326]

SI::LITERAL ( _ZN ,
1e21 ,
newtons  )

◆ norm()

template<class Dimension, class T>
SI_INLINE auto SI::detail::norm ( const quantity< Dimension, T > & x)

◆ normalize()

template<class Dimension, class T>
SI_INLINE auto SI::detail::normalize ( const quantity< Dimension, T > & x)

◆ operator<<() [1/17]

std::ostream & SI::operator<< ( std::ostream & os,
const acceleration a )
inline

◆ operator<<() [2/17]

std::ostream & SI::operator<< ( std::ostream & os,
const area a )
inline

◆ operator<<() [3/17]

std::ostream & SI::operator<< ( std::ostream & os,
const electric_potential U )
inline

◆ operator<<() [4/17]

std::ostream & SI::operator<< ( std::ostream & os,
const energy E )
inline

◆ operator<<() [5/17]

std::ostream & SI::operator<< ( std::ostream & os,
const force F )
inline

◆ operator<<() [6/17]

std::ostream & SI::operator<< ( std::ostream & os,
const frequency f )
inline

◆ operator<<() [7/17]

std::ostream & SI::operator<< ( std::ostream & os,
const length d )
inline

◆ operator<<() [8/17]

std::ostream & SI::operator<< ( std::ostream & os,
const mass m )
inline

◆ operator<<() [9/17]

std::ostream & SI::operator<< ( std::ostream & os,
const mass_per_power m )
inline

◆ operator<<() [10/17]

std::ostream & SI::operator<< ( std::ostream & os,
const per_area a )
inline

◆ operator<<() [11/17]

std::ostream & SI::operator<< ( std::ostream & os,
const power P )
inline

◆ operator<<() [12/17]

std::ostream & SI::operator<< ( std::ostream & os,
const power_intensity I )
inline

◆ operator<<() [13/17]

std::ostream & SI::operator<< ( std::ostream & os,
const pressure p )
inline

◆ operator<<() [14/17]

std::ostream & SI::operator<< ( std::ostream & os,
const temperature T )
inline

◆ operator<<() [15/17]

std::ostream & SI::operator<< ( std::ostream & os,
const time t )
inline

◆ operator<<() [16/17]

std::ostream & SI::operator<< ( std::ostream & os,
const velocity v )
inline

◆ operator<<() [17/17]

std::ostream & SI::operator<< ( std::ostream & os,
const volume v )
inline

◆ pow()

template<long Exponent, class Dimension, class T>
SI_INLINE auto SI::detail::pow ( const quantity< Dimension, T > & x)

◆ print() [1/8]

template<typename T>
void SI::print ( T value)

Prints a single value without a newline.

◆ print() [2/8]

template<typename T1, typename T2>
void SI::print ( T1 v1,
T2 v2 )

Print two values without a newline.

◆ print() [3/8]

template<typename T1, typename T2, typename T3>
void SI::print ( T1 v1,
T2 v2,
T3 v3 )

Prints three values without a newline.

◆ print() [4/8]

template<typename T1, typename T2, typename T3, typename T4>
void SI::print ( T1 v1,
T2 v2,
T3 v3,
T4 v4 )

Prints four values without a newline.

◆ print() [5/8]

template<typename T1, typename T2, typename T3, typename T4, typename T5>
void SI::print ( T1 v1,
T2 v2,
T3 v3,
T4 v4,
T5 v5 )

Prints five values without a newline.

◆ print() [6/8]

template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6>
void SI::print ( T1 v1,
T2 v2,
T3 v3,
T4 v4,
T5 v5,
T6 v6 )

Prints six values without a newline.

◆ print() [7/8]

template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7>
void SI::print ( T1 v1,
T2 v2,
T3 v3,
T4 v4,
T5 v5,
T6 v6,
T7 v7 )

Prints seven values without a newline.

◆ print() [8/8]

template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8>
void SI::print ( T1 v1,
T2 v2,
T3 v3,
T4 v4,
T5 v5,
T6 v6,
T7 v7,
T8 v8 )

Prints eight values without a newline.

◆ println() [1/8]

template<typename T>
void SI::println ( T value)

Prints a single value and a newline.

◆ println() [2/8]

template<typename T1, typename T2>
void SI::println ( T1 v1,
T2 v2 )

Prints two values and a newline.

◆ println() [3/8]

template<typename T1, typename T2, typename T3>
void SI::println ( T1 v1,
T2 v2,
T3 v3 )

Prints three values and a newline.

◆ println() [4/8]

template<typename T1, typename T2, typename T3, typename T4>
void SI::println ( T1 v1,
T2 v2,
T3 v3,
T4 v4 )

Prints four values and a newline.

◆ println() [5/8]

template<typename T1, typename T2, typename T3, typename T4, typename T5>
void SI::println ( T1 v1,
T2 v2,
T3 v3,
T4 v4,
T5 v5 )

Prints five values and a newline.

◆ println() [6/8]

template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6>
void SI::println ( T1 v1,
T2 v2,
T3 v3,
T4 v4,
T5 v5,
T6 v6 )

Prints six values and a newline.

◆ println() [7/8]

template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7>
void SI::println ( T1 v1,
T2 v2,
T3 v3,
T4 v4,
T5 v5,
T6 v6,
T7 v7 )

Prints seven values and a newline.

◆ println() [8/8]

template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8>
void SI::println ( T1 v1,
T2 v2,
T3 v3,
T4 v4,
T5 v5,
T6 v6,
T7 v7,
T8 v8 )

Prints eight values and a newline.

◆ root()

template<long Degree, class Dimension, class T>
SI_INLINE auto SI::detail::root ( const quantity< Dimension, T > & x)

◆ sin()

SI_INLINE angle SI::sin ( angle a)
nodiscard

Calculates the sinus of an angle (a).

◆ sin2()

SI_INLINE angle SI::sin2 ( angle x)
nodiscard

Calculates sin²x.

◆ sqrt() [1/2]

SI_INLINE angle SI::sqrt ( angle a)
nodiscard

◆ sqrt() [2/2]

template<class Dimension, class T>
SI_INLINE auto SI::detail::sqrt ( const quantity< Dimension, T > & x)

◆ square()

template<typename T>
SI_INLINE_CONSTEXPR auto SI::square ( T x)
nodiscard

Raise any number <x> to power of 2 (x² or x*x).

◆ tan()

SI_INLINE angle SI::tan ( angle a)
nodiscard

Calculates the tangens of an angle (a).

◆ to_equivalent() [1/6]

std::string SI::to_equivalent ( const energy E)
inline

Returns an energy equivalent as string, e.g. kg TNT.

◆ to_equivalent() [2/6]

std::string SI::to_equivalent ( const length d)
inline

Returns a length equivalent as string, e.g. in Imperial units.

◆ to_equivalent() [3/6]

std::string SI::to_equivalent ( const mass m)
inline

Returns a mass equivalent as string, e.g. in Imperial units.

◆ to_equivalent() [4/6]

std::string SI::to_equivalent ( const power_intensity I)
inline

Returns a power intensity equivalent as string, e.g. in dB.

◆ to_equivalent() [5/6]

std::string SI::to_equivalent ( const temperature T)
inline

Returns a temperature equivalent as string, e.g. in Fahrenheit.

◆ to_equivalent() [6/6]

std::string SI::to_equivalent ( const velocity V)
inline

Returns a velocity equivalent as string, e.g. in Imperial units.

◆ to_percentage()

std::string SI::to_percentage ( length part,
length total )
inline

Returns the percentage as string, e.g. 50.0%.

◆ to_string() [1/26]

std::string SI::to_string ( const acceleration a)
inline

Returns the acceleration as string using SI units.

◆ to_string() [2/26]

std::string SI::to_string ( const angle a)
inline

Returns the angle as string in degree.

◆ to_string() [3/26]

std::string SI::to_string ( const area a)
inline

Returns the given area as string using SI units.

◆ to_string() [4/26]

std::string SI::to_string ( const char glyph)
inline

◆ to_string() [5/26]

std::string SI::to_string ( const density d)
inline

Returns density as string using SI units.

◆ to_string() [6/26]

std::string SI::to_string ( const dimensionless value)
inline

◆ to_string() [7/26]

std::string SI::to_string ( const electric_charge Q)
inline

Returns the electric charge as string using SI units.

◆ to_string() [8/26]

std::string SI::to_string ( const electric_current I)
inline

Returns the electric current (I) as string using SI units.

◆ to_string() [9/26]

std::string SI::to_string ( const electric_potential U)
inline

Returns the electric potential as string using SI units.

◆ to_string() [10/26]

std::string SI::to_string ( const energy E)
inline

Returns the energy as string using SI units.

◆ to_string() [11/26]

std::string SI::to_string ( const force F)
inline

Returns the force as string using SI units.

◆ to_string() [12/26]

std::string SI::to_string ( const frequency f)
inline

Returns the frequency as string using SI units.

◆ to_string() [13/26]

std::string SI::to_string ( const length d)
inline

Returns the given length as string using SI units.

◆ to_string() [14/26]

std::string SI::to_string ( const mass m)
inline

Returns the given mass as string using SI units.

◆ to_string() [15/26]

std::string SI::to_string ( const mass_per_area m)
inline

◆ to_string() [16/26]

std::string SI::to_string ( const mass_per_power m)
inline

Returns the mass per power as string using SI units.

◆ to_string() [17/26]

std::string SI::to_string ( const per_area a)
inline

Returns the per area as string using SI units.

◆ to_string() [18/26]

std::string SI::to_string ( const power P)
inline

Returns the power as string using SI units.

◆ to_string() [19/26]

std::string SI::to_string ( const power_intensity I)
inline

Returns the power intensity as string using SI units.

◆ to_string() [20/26]

std::string SI::to_string ( const pressure p)
inline

Returns the pressure as string using SI units.

◆ to_string() [21/26]

std::string SI::to_string ( const std::string & text)
inline

◆ to_string() [22/26]

std::string SI::to_string ( const temperature T)
inline

Returns the given temperature as string using SI units.

◆ to_string() [23/26]

std::string SI::to_string ( const time t)
inline

Returns the given time as string using SI units.

◆ to_string() [24/26]

std::string SI::to_string ( const unsigned char byte)
inline

◆ to_string() [25/26]

std::string SI::to_string ( const velocity v)
inline

Returns velocity as string using SI units.

◆ to_string() [26/26]

std::string SI::to_string ( const volume v)
inline

Returns the given volume as string using SI units.

◆ UNIT() [1/100]

SI::UNIT ( ampere_hours )

◆ UNIT() [2/100]

SI::UNIT ( amperes )

◆ UNIT() [3/100]

SI::UNIT ( amperes_per_meter )

◆ UNIT() [4/100]

SI::UNIT ( amperes_per_meter2 )

◆ UNIT() [5/100]

SI::UNIT ( atto )

◆ UNIT() [6/100]

SI::UNIT ( bytes )

◆ UNIT() [7/100]

SI::UNIT ( bytes_per_second )

◆ UNIT() [8/100]

SI::UNIT ( candelas )

◆ UNIT() [9/100]

SI::UNIT ( celsius )

◆ UNIT() [10/100]

SI::UNIT ( centi )

◆ UNIT() [11/100]

SI::UNIT ( coulombs )

◆ UNIT() [12/100]

SI::UNIT ( coulombs_per_mol )

◆ UNIT() [13/100]

SI::UNIT ( exa )

◆ UNIT() [14/100]

SI::UNIT ( fahrenheit )

◆ UNIT() [15/100]

SI::UNIT ( farads )

◆ UNIT() [16/100]

SI::UNIT ( farads_per_meter )

◆ UNIT() [17/100]

SI::UNIT ( feet )

◆ UNIT() [18/100]

SI::UNIT ( femto )

◆ UNIT() [19/100]

SI::UNIT ( giga )

◆ UNIT() [20/100]

SI::UNIT ( grays )

◆ UNIT() [21/100]

SI::UNIT ( hecto )

◆ UNIT() [22/100]

SI::UNIT ( henrys )

◆ UNIT() [23/100]

SI::UNIT ( hertz )

◆ UNIT() [24/100]

SI::UNIT ( hertz_per_volt )

◆ UNIT() [25/100]

SI::UNIT ( hours )

◆ UNIT() [26/100]

SI::UNIT ( inches )

◆ UNIT() [27/100]

SI::UNIT ( joules )

◆ UNIT() [28/100]

SI::UNIT ( joules_per_kelvin )

◆ UNIT() [29/100]

SI::UNIT ( joules_per_kelvin_per_mol )

◆ UNIT() [30/100]

SI::UNIT ( joules_per_kilogram_per_kelvin )

◆ UNIT() [31/100]

SI::UNIT ( joules_per_mol )

◆ UNIT() [32/100]

SI::UNIT ( joules_per_second )

◆ UNIT() [33/100]

SI::UNIT ( joules_per_second_per_kilogram )

◆ UNIT() [34/100]

SI::UNIT ( joules_per_tesla )

◆ UNIT() [35/100]

SI::UNIT ( jouleseconds )

◆ UNIT() [36/100]

SI::UNIT ( kelvins )

◆ UNIT() [37/100]

SI::UNIT ( kilo )

◆ UNIT() [38/100]

SI::UNIT ( kilograms )

◆ UNIT() [39/100]

SI::UNIT ( kilograms_per_meter2 )

◆ UNIT() [40/100]

SI::UNIT ( kilograms_per_meter3 )

◆ UNIT() [41/100]

SI::UNIT ( kilograms_per_mol )

◆ UNIT() [42/100]

SI::UNIT ( kilograms_per_watt )

◆ UNIT() [43/100]

SI::UNIT ( kilometers )

◆ UNIT() [44/100]

SI::UNIT ( kilometers2 )

◆ UNIT() [45/100]

SI::UNIT ( kilometers3 )

◆ UNIT() [46/100]

SI::UNIT ( knots )

◆ UNIT() [47/100]

SI::UNIT ( lumens )

◆ UNIT() [48/100]

SI::UNIT ( lumens_per_watt )

◆ UNIT() [49/100]

SI::UNIT ( lumenseconds )

◆ UNIT() [50/100]

SI::UNIT ( lux )

◆ UNIT() [51/100]

SI::UNIT ( mega )

◆ UNIT() [52/100]

SI::UNIT ( meter_kelvins )

◆ UNIT() [53/100]

SI::UNIT ( meters )

◆ UNIT() [54/100]

SI::UNIT ( meters2 )

◆ UNIT() [55/100]

SI::UNIT ( meters2_per_second )

◆ UNIT() [56/100]

SI::UNIT ( meters3 )

◆ UNIT() [57/100]

SI::UNIT ( meters3_per_kilogram_per_second2 )

◆ UNIT() [58/100]

SI::UNIT ( meters3_per_mol )

◆ UNIT() [59/100]

SI::UNIT ( meters3_per_second )

◆ UNIT() [60/100]

SI::UNIT ( meters3_per_second2 )

◆ UNIT() [61/100]

SI::UNIT ( meters_per_hour )

◆ UNIT() [62/100]

SI::UNIT ( meters_per_second )

◆ UNIT() [63/100]

SI::UNIT ( meters_per_second2 )

◆ UNIT() [64/100]

SI::UNIT ( micro )

◆ UNIT() [65/100]

SI::UNIT ( miles_per_hour )

◆ UNIT() [66/100]

SI::UNIT ( milli )

◆ UNIT() [67/100]

SI::UNIT ( millimeters )

◆ UNIT() [68/100]

SI::UNIT ( minutes )

◆ UNIT() [69/100]

SI::UNIT ( moles )

◆ UNIT() [70/100]

SI::UNIT ( mols_per_kilogram )

◆ UNIT() [71/100]

SI::UNIT ( mols_per_meter3 )

◆ UNIT() [72/100]

SI::UNIT ( mols_per_second )

◆ UNIT() [73/100]

SI::UNIT ( nano )

◆ UNIT() [74/100]

SI::UNIT ( nautical_miles )

◆ UNIT() [75/100]

SI::UNIT ( newtonmeters )

◆ UNIT() [76/100]

SI::UNIT ( newtons )

◆ UNIT() [77/100]

SI::UNIT ( newtons_per_ampere2 )

◆ UNIT() [78/100]

SI::UNIT ( newtonseconds )

◆ UNIT() [79/100]

SI::UNIT ( ohm_meters )

◆ UNIT() [80/100]

SI::UNIT ( ohms )

◆ UNIT() [81/100]

SI::UNIT ( pascals )

◆ UNIT() [82/100]

SI::UNIT ( per_meter )

◆ UNIT() [83/100]

SI::UNIT ( per_meter2 )

◆ UNIT() [84/100]

SI::UNIT ( per_mol )

◆ UNIT() [85/100]

SI::UNIT ( peta )

◆ UNIT() [86/100]

SI::UNIT ( pico )

◆ UNIT() [87/100]

SI::UNIT ( pounds )

◆ UNIT() [88/100]

SI::UNIT ( seconds )

◆ UNIT() [89/100]

SI::UNIT ( siemens )

◆ UNIT() [90/100]

SI::UNIT ( siemens_per_meter )

◆ UNIT() [91/100]

SI::UNIT ( sieverts )

◆ UNIT() [92/100]

SI::UNIT ( statute_miles )

◆ UNIT() [93/100]

SI::UNIT ( steradians )

◆ UNIT() [94/100]

SI::UNIT ( tera )

◆ UNIT() [95/100]

SI::UNIT ( teslas )

◆ UNIT() [96/100]

SI::UNIT ( volts )

◆ UNIT() [97/100]

SI::UNIT ( wattmeters2 )

◆ UNIT() [98/100]

SI::UNIT ( watts )

◆ UNIT() [99/100]

SI::UNIT ( watts_per_meter2 )

◆ UNIT() [100/100]

SI::UNIT ( webers )

Variable Documentation

◆ is_si_v

template<class T>
SI_INLINE_CONSTEXPR bool SI::detail::is_si_v

◆ to_equivalent_format

auto SI::to_equivalent_format = "%.2Lf %s"
inline

configurable, SI standard formatting by default

◆ to_percentage_format

auto SI::to_percentage_format = "%.0Lf %s"
inline

configurable

◆ to_string_format

auto SI::to_string_format = "%.2Lf %s"
inline

configurable, SI standard formatting by default

◆ zero