Skip to main content

Crate use_physical_constants

Crate use_physical_constants 

Source
Expand description

Reusable physical constants expressed as plain f64 values.

Constantsยง

AVOGADRO_CONSTANT
Exact SI-defined Avogadro constant, in reciprocal moles.
BOLTZMANN_CONSTANT
Exact SI-defined Boltzmann constant, in joules per kelvin.
ELEMENTARY_CHARGE
Exact SI-defined elementary charge, in coulombs.
FINE_STRUCTURE_CONSTANT
Measured fine-structure constant, dimensionless.
GRAVITATIONAL_CONSTANT
Measured Newtonian constant of gravitation, in cubic meters per kilogram second squared.
PLANCK_CONSTANT
Exact SI-defined Planck constant, in joule seconds.
REDUCED_PLANCK_CONSTANT
Derived physical constant h-bar, represented here as a rounded f64 in joule seconds.
SPEED_OF_LIGHT
Exact SI-defined speed of light in vacuum, in meters per second.
STEFAN_BOLTZMANN_CONSTANT
Derived radiative constant sigma, represented here as a rounded f64 in watts per square meter kelvin to the fourth.
VACUUM_PERMEABILITY
Measured vacuum permeability, in newtons per ampere squared.
VACUUM_PERMITTIVITY
Measured vacuum permittivity, in farads per meter.