Some constants readability improved

This commit is contained in:
Mateusz Pusz
2020-03-26 20:57:33 +01:00
parent e7f763ddc3
commit 99c309ef19

View File

@@ -48,10 +48,10 @@ template<Scalar Rep = double>
inline constexpr auto avogadro_constant = Rep(6.02214076e23) / substance<mole, Rep>(1);
template<Scalar Rep = double>
inline constexpr auto speed_of_light = velocity<metre_per_second, Rep>(299792458);
inline constexpr auto speed_of_light = velocity<metre_per_second, Rep>(299'792'458);
template<Scalar Rep = double>
inline constexpr auto hyperfine_structure_transition_frequency = frequency<hertz, Rep>(9192631770);
inline constexpr auto hyperfine_structure_transition_frequency = frequency<hertz, Rep>(9'192'631'770);
// template<Scalar Rep = double>
// inline constexpr auto luminous_efficacy = 683q_lm / 1q_W;