Skip to content

Commit

Permalink
Add electron, proton and neutron mass
Browse files Browse the repository at this point in the history
Fix #296
  • Loading branch information
printfn committed May 4, 2024
1 parent 67641cc commit 12d4f4f
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions core/src/units/builtin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,12 +219,14 @@ const CONSTANTS: &[UnitTuple] = &[
"=1.380649e-23 J/K",
"Boltzmann constant (exact)",
),
(
"electron_charge",
"",
"=1.602176634e-19 coulomb",
"electron charge (exact)",
),
("electron_charge", "", "=1.602176634e-19 coulomb", ""),
("electroncharge", "", "=electron_charge", ""),
("electronmass", "", "=9.1093837015e-31 kg", ""),
("electron_mass", "", "=electronmass", ""),
("protonmass", "", "=1.67262192369e-27 kg", ""),
("proton_mass", "", "=protonmass", ""),
("neutronmass", "", "=1.67492749804e-27 kg", ""),
("neutron_mass", "", "=neutronmass", ""),
(
"avogadro",
"",
Expand Down

0 comments on commit 12d4f4f

Please sign in to comment.