From d4734f630d13cfa5f405c815eca124ac4ad09151 Mon Sep 17 00:00:00 2001 From: Yves Delley Date: Sat, 11 May 2024 11:10:30 +0200 Subject: [PATCH] add missing unit symbols for ohm --- .../mp-units/systems/si/unit_symbols.h | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/src/systems/include/mp-units/systems/si/unit_symbols.h b/src/systems/include/mp-units/systems/si/unit_symbols.h index 8477bbb2e..eaa2e7d22 100644 --- a/src/systems/include/mp-units/systems/si/unit_symbols.h +++ b/src/systems/include/mp-units/systems/si/unit_symbols.h @@ -474,6 +474,32 @@ inline constexpr auto YF = yotta; inline constexpr auto RF = ronna; inline constexpr auto QF = quetta; +inline constexpr auto qohm = quecto; +inline constexpr auto rohm = ronto; +inline constexpr auto yohm = yocto; +inline constexpr auto zohm = zepto; +inline constexpr auto aohm = atto; +inline constexpr auto fohm = femto; +inline constexpr auto pohm = pico; +inline constexpr auto nohm = nano; +inline constexpr auto uohm = micro; +inline constexpr auto mohm = milli; +inline constexpr auto cohm = centi; +inline constexpr auto dohm = deci; +inline constexpr auto ohm = si::ohm; +inline constexpr auto daohm = deca; +inline constexpr auto hohm = hecto; +inline constexpr auto kohm = kilo; +inline constexpr auto Mohm = mega; +inline constexpr auto Gohm = giga; +inline constexpr auto Tohm = tera; +inline constexpr auto Pohm = peta; +inline constexpr auto Eohm = exa; +inline constexpr auto Zohm = zetta; +inline constexpr auto Yohm = yotta; +inline constexpr auto Rohm = ronna; +inline constexpr auto Qohm = quetta; + inline constexpr auto qS = quecto; inline constexpr auto rS = ronto; inline constexpr auto yS = yocto;