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