From c8ec771d69c1e6533d5d75a7248702ccd51b70c7 Mon Sep 17 00:00:00 2001 From: Chip Hogg Date: Wed, 15 Jun 2022 21:19:39 +0000 Subject: [PATCH] Help factoring for eV/c --- src/systems/si-hep/include/units/isq/si/hep/momentum.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/systems/si-hep/include/units/isq/si/hep/momentum.h b/src/systems/si-hep/include/units/isq/si/hep/momentum.h index 21dc44c6..9b53b4c2 100644 --- a/src/systems/si-hep/include/units/isq/si/hep/momentum.h +++ b/src/systems/si-hep/include/units/isq/si/hep/momentum.h @@ -34,6 +34,11 @@ namespace units::isq::si::hep { + +// Necessary to factor `5'344'285'992'678`, which appears in the value for eV/c. +template<> +inline constexpr std::optional units::known_first_factor<296'904'777'371> = 157'667; + struct kilogram_metre_per_second : derived_unit {}; struct eV_per_c :