![]() |
Project
|
Defines 77 type-safe constants, e.g. speed_of_light_in_vacuum. More...
#include <SI/units.h>Go to the source code of this file.
Namespaces | |
| namespace | SI |
| namespace | SI::constant |
Macros | |
| #define | CONST(_name, _value, _base_unit) |
Functions | |
| SI::constant::CONST (caesium_frequency, 9 '192 '631 '770, hertz) | |
| SI::constant::CONST (delta_v_Cs, 9 '192 '631 '770, hertz) | |
| SI::constant::CONST (speed_of_light_in_vacuum, 299 '792 '458.0, meters_per_second) | |
| SI::constant::CONST (c, 299 '792 '458.0, meters_per_second) | |
| SI::constant::CONST (Planck, 6.626 '070 '15e-34, jouleseconds) | |
| SI::constant::CONST (h, 6.626 '070 '15e-34, jouleseconds) | |
| SI::constant::CONST (elementary_charge, 1.602 '176 '634e-19, coulombs) | |
| SI::constant::CONST (e, 1.602 '176 '634e-19, coulombs) | |
| SI::constant::CONST (Boltzmann, 1.380 '649e-23, joules_per_kelvin) | |
| SI::constant::CONST (k, 1.380 '649e-23, joules_per_kelvin) | |
| SI::constant::CONST (N_A, 6.02214076e23, per_mol) | |
| SI::constant::CONST (K_cd, 683, lumens_per_watt) | |
| SI::constant::CONST (g_n, 9.806 '65, meters_per_second2) | |
| SI::constant::CONST (atm, 101 '325, pascals) | |
| SI::constant::CONST (ssp, 100 '000, pascals) | |
| SI::constant::CONST (G, 6.67430e-11, meters3_per_kilogram_per_second2) | |
| SI::constant::CONST (Z_0, 376.730 '313 '412, ohms) | |
| SI::constant::CONST (epsilon_0, 8.854 '187 '8188e-12, farads_per_meter) | |
| SI::constant::CONST (l_P, 1.616255e-35, meters) | |
| SI::constant::CONST (m_P, 2.176434e-8, kilograms) | |
| SI::constant::CONST (T_P, 1.416784e32, kelvins) | |
| SI::constant::CONST (t_P, 5.391247e-44, seconds) | |
| SI::constant::CONST (h_bar, 1.054 '571 '817e-34, jouleseconds) | |
| SI::constant::CONST (mu_0, 1.256 '637 '061 '27e-6, newtons_per_ampere2) | |
| SI::constant::CONST (G_0, 7.748 '091 '729e-5, siemens) | |
| SI::constant::CONST (G_0_inv, 12906.40372, ohms) | |
| SI::constant::CONST (K_J, 483 '597.848 '4e9, hertz_per_volt) | |
| SI::constant::CONST (mu_B, 9.274 '010 '0657e-24, joules_per_tesla) | |
| SI::constant::CONST (mu_N, 5.050 '783 '7393e-27, joules_per_tesla) | |
| SI::constant::CONST (Phi_0, 2.067833848e-15, webers) | |
| SI::constant::CONST (R_K, 25 '812.807 '45, ohms) | |
| SI::constant::CONST (R_Km90, 25812.807, ohms) | |
| SI::constant::CONST (a_0, 5.291 '772 '105 '44e-11, meters) | |
| SI::constant::CONST (alpha, 7.2973525e-3, dimensionless) | |
| SI::constant::CONST (alpha_inv, 137.035 '999 '177, dimensionless) | |
| SI::constant::CONST (E_h, 4.3597447222e-18, joules) | |
| SI::constant::CONST (g_e, -2.00231930436256, dimensionless) | |
| SI::constant::CONST (h_2me, 3.6369475e-4, meters2_per_second) | |
| SI::constant::CONST (m_e, 9.109 '383 '7139e-31, kilograms) | |
| SI::constant::CONST (m_d, 3.343 '583 '7768e-27, kilograms) | |
| SI::constant::CONST (m_h, 5.006 '412 '7862e-27, kilograms) | |
| SI::constant::CONST (m_mu, 1.883 '531 '627e-28, kilograms) | |
| SI::constant::CONST (m_n, 1.674 '927 '500 '56e-27, kilograms) | |
| SI::constant::CONST (m_p, 1.672 '621 '925 '95e-27, kilograms) | |
| SI::constant::CONST (m_tau, 3.167 '54e-27, kilograms) | |
| SI::constant::CONST (m_t, 5.007 '356 '7512e-27, kilograms) | |
| SI::constant::CONST (r_e, 2.817 '940 '3205e-15, meters) | |
| SI::constant::CONST (R_inf, 10 '973 '731.568 '157, per_meter) | |
| SI::constant::CONST (sin2Theta_W, 0.22290, dimensionless) | |
| SI::constant::CONST (sigma_e, 6.6524587e-29, meters2) | |
| SI::constant::CONST (b, 2.897771955e-3, meter_kelvins) | |
| SI::constant::CONST (c_1, 3.741771852e-16, wattmeters2) | |
| SI::constant::CONST (c_1L, 1.191042972e-16, watts_per_meter2) | |
| SI::constant::CONST (F, 96 '485.332 '12, coulombs_per_mol) | |
| SI::constant::CONST (m_u, 1.660 '539 '068 '9252e-27, kilograms) | |
| SI::constant::CONST (M_u, 1.000 '000 '001 '05e-3, kilograms_per_mol) | |
| SI::constant::CONST (R, 8.314 '462 '618, joules_per_kelvin_per_mol) | |
| SI::constant::CONST (R_dry_air, 287.050 '0676, joules_per_kilogram_per_kelvin) | |
| SI::constant::CONST (S_0_by_R, -1.15170753706, dimensionless) | |
| SI::constant::CONST (V_m, 22.710 '954 '64e-3, meters3_per_mol) | |
| SI::constant::CONST (gravitational_constant, 6.6743015e-11, meters3_per_kilogram_per_second2) | |
| SI::constant::CONST (Earth_gravity, 9.80665, meters_per_second2) | |
| SI::constant::CONST (speed_of_sound, 343, meters_per_second) | |
| SI::constant::CONST (speed_of_sound_in_fresh_water, 1481, meters_per_second) | |
| SI::constant::CONST (speed_of_sound_in_iron, 5120, meters_per_second) | |
| SI::constant::CONST (speed_of_sound_in_diamonds, 12 '000, meters_per_second) | |
| SI::constant::CONST (tau, 6.28318530717958647692, radians) | |
| SI::constant::CONST (pi, 3.14159265358979323846, radians) | |
| SI::constant::CONST (half_pi, 1.57079632679489661923, radians) | |
| SI::constant::CONST (quarter_pi, 0.78539816339744830961, radians) | |
| SI::constant::CONST (phi, 1.61803398874989484820, dimensionless) | |
| SI::constant::CONST (Eulers_number, 2.71828182845904523536, dimensionless) | |
| SI::constant::CONST (AU, 149 '597 '870 '691, meters) | |
| SI::constant::CONST (parsec, 30 '856 '775 '814 '913 '700, meters) | |
| SI::constant::CONST (lightyear, 9 '460 '730 '777 '119 '564, meters) | |
| SI::constant::CONST (T0, 0, kelvins) | |
| SI::constant::CONST (Marathon_distance, 42 '195, meters) | |
| SI::constant::CONST (quarter_mile, 402.34, meters) | |
Defines 77 type-safe constants, e.g. speed_of_light_in_vacuum.
Source: 2022 CODATA (mostly) Categories are: Defined Constants, Universal Constants, Electromagnetic Constants, Atomic & Nuclear Constants, Physico-chemical Constants, Physical Constants, Mathematical Constants, Astronomical Constants, Various Constants, and References.
| #define CONST | ( | _name, | |
| _value, | |||
| _base_unit ) |