text: // The MIT License (MIT)
  //
  // Copyright (c) 2018 Mateusz Pusz
  //
  // Permission is hereby granted, free of charge, to any person obtaining a copy
  // of this software and associated documentation files (the "Software"), to deal
  // in the Software without restriction, including without limitation the rights
  // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  // copies of the Software, and to permit persons to whom the Software is
  // furnished to do so, subject to the following conditions:
  //
  // The above copyright notice and this permission notice shall be included in all
  // copies or substantial portions of the Software.
  //
  // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  // SOFTWARE.
  
  #pragma once
  
  #include <units/prefix.h>
  
  namespace units::si {
  
  struct prefix : prefix_family {};
  
  // clang-format off
  struct yocto  : units::prefix<yocto,  prefix, "y",             ratio<1, 1, -24>> {};
  struct zepto  : units::prefix<zepto,  prefix, "z",             ratio<1, 1, -21>> {};
  struct atto   : units::prefix<atto,   prefix, "a",             ratio<1, 1, -18>> {};
  struct femto  : units::prefix<femto,  prefix, "f",             ratio<1, 1, -15>> {};
  struct pico   : units::prefix<pico,   prefix, "p",             ratio<1, 1, -12>> {};
  struct nano   : units::prefix<nano,   prefix, "n",             ratio<1, 1,  -9>> {};
  struct micro  : units::prefix<micro,  prefix, {"\u00b5", "u"}, ratio<1, 1,  -6>> {};
  struct milli  : units::prefix<milli,  prefix, "m",             ratio<1, 1,  -3>> {};
  struct centi  : units::prefix<centi,  prefix, "c",             ratio<1, 1,  -2>> {};
  struct deci   : units::prefix<deci,   prefix, "d",             ratio<1, 1,  -1>> {};
  struct deca   : units::prefix<deca,   prefix, "da",            ratio<1, 1,   1>> {};
  struct hecto  : units::prefix<hecto,  prefix, "h",             ratio<1, 1,   2>> {};
  struct kilo   : units::prefix<kilo,   prefix, "k",             ratio<1, 1,   3>> {};
  struct mega   : units::prefix<mega,   prefix, "M",             ratio<1, 1,   6>> {};
  struct giga   : units::prefix<giga,   prefix, "G",             ratio<1, 1,   9>> {};
  struct tera   : units::prefix<tera,   prefix, "T",             ratio<1, 1,  12>> {};
  struct peta   : units::prefix<peta,   prefix, "P",             ratio<1, 1,  15>> {};
  struct exa    : units::prefix<exa,    prefix, "E",             ratio<1, 1,  18>> {};
  struct zetta  : units::prefix<zetta,  prefix, "Z",             ratio<1, 1,  21>> {};
  struct yotta  : units::prefix<yotta,  prefix, "Y",             ratio<1, 1,  24>> {};
  // clang-format on
  
  }  // namespace units::si
  