Commit Graph

  • eee6f7ed87 style: core code reformatted with clang-format-16 Mateusz Pusz 2022-11-10 16:46:56 -10:00
  • 9ca15c3023 feat: operator[] added for quantity Mateusz Pusz 2022-11-10 16:41:28 -10:00
  • 14952dfbf4 refactor(unit test): speed_of_light_unit renamed to speed_of_light_in_vacuum_unit in unit_test Mateusz Pusz 2022-11-10 14:42:44 -10:00
  • 8300305dd3 refactor: physical constants refactored Mateusz Pusz 2022-11-10 14:39:05 -10:00
  • d75f22ecc4 feat: constant_unit support added Mateusz Pusz 2022-11-10 09:55:43 -10:00
  • 7b6fc18e20 refactor: distribution_test refactored for V2 Mateusz Pusz 2022-11-09 22:54:22 -10:00
  • 3d536fb82b refactor: Unicode symbols directly provided in the code Mateusz Pusz 2022-11-09 22:53:27 -10:00
  • 9373446f7d refactor: kilogram type used explicitly for the symbol Mateusz Pusz 2022-11-09 22:51:57 -10:00
  • 5ab79f0c63 feat: quantity_equivalent_to concept added Mateusz Pusz 2022-11-09 22:50:54 -10:00
  • 411f7a0bb7 refactor: magnitude_text() moved to the magnitude header file Mateusz Pusz 2022-11-09 22:50:19 -10:00
  • f01aa8530a fix: magnitudes fixed Mateusz Pusz 2022-11-09 22:49:36 -10:00
  • f2e63fdeb1 refactor: std::common_type usage replaced with dedicated functions for units, dimensions, and references Mateusz Pusz 2022-11-09 18:39:51 -10:00
  • 649252d691 refactor: system_reference moved to a dedicated header file Mateusz Pusz 2022-11-09 18:33:39 -10:00
  • 9fd3d5dc3f refactor: bad interface fixed Mateusz Pusz 2022-11-08 13:21:09 -10:00
  • 7423acd6a7 test: negative tests for formatting added Mateusz Pusz 2022-11-08 11:19:12 -10:00
  • 61b88b919f refactor: convertible() renamed to interconvertible() Mateusz Pusz 2022-11-08 10:57:05 -10:00
  • 3d1f339115 refactor: reference now takes NTTPs rather then types Mateusz Pusz 2022-11-08 10:37:41 -10:00
  • 64d6193e74 refactor: cgs header cleanup Mateusz Pusz 2022-11-07 16:36:56 -10:00
  • 552aa1a3e5 feat: added unit symbols for m2, m3, and s2 Mateusz Pusz 2022-11-07 16:36:19 -10:00
  • 44e1e90d51 style: SI prefixes definition reformatted Mateusz Pusz 2022-11-07 16:35:40 -10:00
  • 630daf4e26 fix: compressibility definition fixed Mateusz Pusz 2022-11-07 16:34:39 -10:00
  • 5054f45a4a refactor: iec80000 refectored vor V2 Mateusz Pusz 2022-11-07 16:34:02 -10:00
  • f462109aa3 fix: TYPENAME added to dimension.h Mateusz Pusz 2022-11-07 16:22:02 -10:00
  • c32a4cea8a test: fmt tests refactored for V2 Mateusz Pusz 2022-11-07 16:21:30 -10:00
  • 2f8aa6ae99 fix: obsolete UNITS_DOWNCAST_MODE removed fron conanfile Mateusz Pusz 2022-11-07 16:20:32 -10:00
  • 7e09a5f810 test: more static unit tests added Mateusz Pusz 2022-11-07 16:19:42 -10:00
  • e3863e8f8d refactor: unit_symbol_denominator renamed to unit_symbol_solidus Mateusz Pusz 2022-11-07 16:18:11 -10:00
  • d69e223b0c refactor: quantity_cast on quantities refactored for V2 Mateusz Pusz 2022-11-07 16:14:02 -10:00
  • c14593c59b refactor: dimensionless refactored to V2 Mateusz Pusz 2022-11-07 16:13:19 -10:00
  • 5142365ec6 fix: inverse of magnitude fixed Mateusz Pusz 2022-11-07 16:12:31 -10:00
  • a97eea95e9 fix: expr_divide fixed for 1 / derived_type Mateusz Pusz 2022-11-07 14:57:39 -10:00
  • 9a11c33764 feat: Custom find_first_of algorithm added Mateusz Pusz 2022-11-06 20:27:22 -10:00
  • 772fdab6c1 refactor: math_concepts usage Mateusz Pusz 2022-11-06 19:46:58 -10:00
  • 364699e5d9 chore: unused files removed Mateusz Pusz 2022-11-06 19:45:31 -10:00
  • b46e9e1dbd refactor: quantity_io refactored to V2 Mateusz Pusz 2022-11-06 19:15:11 -10:00
  • f1caad7b74 fix: expression template simplification bug fixed Mateusz Pusz 2022-11-05 18:45:02 +01:00
  • 4938e9d5c0 feat: Added support for natural units-like systems + dimension_one cleanup Mateusz Pusz 2022-11-04 19:29:05 +01:00
  • 9915ae22b5 fix: __cpp_explicit_this_parameter spelling fixed Mateusz Pusz 2022-10-25 19:31:41 +02:00
  • cb861dd81a feat: system's definition highly simplified by removing the need for a system_reference for most cases Mateusz Pusz 2022-10-25 07:27:08 +02:00
  • 8dcdc7bdac fix: printing of symbols with fractional powers fixed Mateusz Pusz 2022-10-23 22:19:44 +02:00
  • e7bebac2a7 feat: power<Num, Den>() support added for dimensions and units Mateusz Pusz 2022-10-23 10:47:12 +02:00
  • 9bfe75ebf6 feat: harmonic_ concept enabled Mateusz Pusz 2022-10-22 21:05:14 +02:00
  • 08b7716f51 feat: std::common_type support for unit added Mateusz Pusz 2022-10-22 20:59:44 +02:00
  • b78abce0ae fix: invalid assertions fixed Mateusz Pusz 2022-10-22 20:19:51 +02:00
  • 7e18694790 refactor: gsl_Assert replaced with gsl_Expects Mateusz Pusz 2022-10-22 19:31:20 +02:00
  • 17036cb2d0 feat: unit symbol text output support added Mateusz Pusz 2022-10-22 19:27:39 +02:00
  • 17fd0900a4 refactor: expression template operations now take function parameters Mateusz Pusz 2022-10-22 09:02:40 +02:00
  • 914d24a903 refactor: not empty constraints added for defining a symbol Mateusz Pusz 2022-10-21 23:13:10 +02:00
  • fddc3480a9 feat: copy algorithm added Mateusz Pusz 2022-10-21 23:11:25 +02:00
  • 4b83b3a2ee refactor: text_tools made consteval and [[nodiscard]] Mateusz Pusz 2022-10-21 23:10:56 +02:00
  • b734880903 refactor: standard renamed to unicode in basic_symbol_text Mateusz Pusz 2022-10-21 23:10:12 +02:00
  • 3c890fb6d9 Merge pull request #399 from TheCoconutChef/missing-fixes-for-division-op-in-gcc11 Mateusz Pusz 2022-10-21 02:14:48 -06:00
  • 136af48e70 fix: constraint recursion for gcc11 on operator/ TheCoconutChef 2022-10-20 12:00:18 -04:00
  • aca8208568 test: dimension unit tests cleanup Mateusz Pusz 2022-10-20 14:06:22 +02:00
  • 5a7f58be41 fix: Added a special case for multiplication of opposite magnitude exponents Mateusz Pusz 2022-10-20 14:05:20 +02:00
  • 0b9b159695 fix: units design refactored and fixed Mateusz Pusz 2022-10-20 14:03:15 +02:00
  • c3c0879257 refactor: DimensionSpec concept renamed to DerivedDimensionSpec Mateusz Pusz 2022-10-19 20:44:12 +02:00
  • aa33964782 refactor: expression templates engine refactored Mateusz Pusz 2022-10-19 19:56:35 +02:00
  • 8246b06b4a feat: type_list_element, type_list_back added; type_list_split refactored Mateusz Pusz 2022-10-19 19:39:18 +02:00
  • 5975e4c1cc refactor: named_unit<S, U> should inherit from U to for a correct inheritance hierarchy Mateusz Pusz 2022-10-19 13:16:59 +02:00
  • 8793aeec23 feat: convertibility check added for the target unit in the system_reference Mateusz Pusz 2022-10-19 13:16:10 +02:00
  • ec1dace1f9 feat: PrefixableUnit concept introduced Mateusz Pusz 2022-10-19 13:15:02 +02:00
  • f156bc4c71 test: type_list unit tests added Mateusz Pusz 2022-10-19 12:23:04 +02:00
  • 98a19f6b4c feat: dimensions design is now complete Mateusz Pusz 2022-10-19 11:21:15 +02:00
  • 03e064fccd feat: equivalent support removed Mateusz Pusz 2022-10-18 22:57:02 +02:00
  • 6d898957ab docs: invalid comment text fixed Mateusz Pusz 2022-10-18 22:55:58 +02:00
  • a5c7934e0e refactor: units nearly done Mateusz Pusz 2022-10-18 21:24:09 +02:00
  • 6e8ca72678 refactor: dimensions design cleanup Mateusz Pusz 2022-10-18 17:45:32 +02:00
  • 3194d45b08 refactor: exposition only members added to expression templates Mateusz Pusz 2022-10-18 17:44:40 +02:00
  • 6a6fda1837 style: SI unit symbols definition cleanup Mateusz Pusz 2022-10-18 16:09:35 +02:00
  • e83b361465 refactor: explicit(false) added for basic_symbol_text Mateusz Pusz 2022-10-18 16:08:22 +02:00
  • cf0a770d9b refactor: quantity arithmetics implemented Mateusz Pusz 2022-10-09 21:32:38 +01:00
  • 7046b319dc docs: broken link fixed Mateusz Pusz 2022-10-08 12:14:04 +01:00
  • 4a49bdda05 refactor: V2 design update Mateusz Pusz 2022-10-06 23:43:01 +01:00
  • 21e5dda5b7 build(example): gitpod support fixed Mateusz Pusz 2022-10-04 00:15:06 +01:00
  • bf8aad46ec build: gitpod conan profile for clang14 fixed Mateusz Pusz 2022-10-03 20:18:30 +01:00
  • d6cf793682 build: clang-12 is not supported in jammy Mateusz Pusz 2022-10-03 20:08:44 +01:00
  • 6d78ad8646 build: gitpod support updated Mateusz Pusz 2022-10-03 17:34:05 +00:00
  • cd52588f56 build: GitPod script updated Mateusz Pusz 2022-10-03 17:45:58 +01:00
  • 7c02da50d8 fix(example): clang-15 compilation fixed Mateusz Pusz 2022-10-03 18:32:47 +02:00
  • 6b98671a9f Merge branch 'master' of github.com:mpusz/units Mateusz Pusz 2022-10-03 15:16:23 +02:00
  • 645aeed371 ci: clang-15 added to CI Mateusz Pusz 2022-10-03 15:16:18 +02:00
  • aeb82a9596 Merge pull request #394 from JohelEGP/llvm16 Mateusz Pusz 2022-10-02 03:59:01 -06:00
  • a4183739ad refactor: make typename optional for Clang 16 Johel Ernesto Guerrero Peña 2022-10-01 10:12:35 -04:00
  • 4411b8ea6d test: dimension unit tests added Mateusz Pusz 2022-09-28 12:49:28 +02:00
  • a9b482a661 refactor: magnitude types are much shorter now Mateusz Pusz 2022-09-22 10:26:55 +02:00
  • f375797372 refactor: constexpr replaced with consteval Mateusz Pusz 2022-09-22 10:24:32 +02:00
  • 79ef21b2a5 refactor: power::ratio renamed to power::exponent Mateusz Pusz 2022-09-22 10:23:41 +02:00
  • 726c67b194 refactor: ratio usage added to power Mateusz Pusz 2022-09-16 17:40:13 -06:00
  • 2d5386504d refactor: Unused code commented for now Mateusz Pusz 2022-09-16 17:38:40 -06:00
  • 2f365b5135 refactor: mag and mag_power changed to variable templates Mateusz Pusz 2022-09-15 15:13:46 -06:00
  • 70185b49c2 refactor: constexpr replaced with consteval Mateusz Pusz 2022-09-15 14:52:54 -06:00
  • 5d23567bec feat(example): experimental_angle example replaced Mateusz Pusz 2022-09-15 12:00:13 -06:00
  • 6bc54819f3 fix: 💥 standard_gravity removed from si2019 namespace as it is not an SI defining constant Mateusz Pusz 2022-09-15 11:49:37 -06:00
  • c96e88e1be Merge branch 'master' of github.com:mpusz/units Mateusz Pusz 2022-09-12 18:00:36 -06:00
  • 8cd19e4022 Merge pull request #393 from chiphogg/chiphogg/terminator Mateusz Pusz 2022-09-11 18:45:41 -06:00
  • 06b3a64252 Replace compile-time exceptions with terminations Chip Hogg 2022-09-12 00:34:45 +00:00
  • 22c26e62c6 refactor: prefixes refactored to benefit from mag_power() Mateusz Pusz 2022-09-11 19:47:31 +02:00
  • 806fb0751b refactor: short_units renamed to unit_symbols Mateusz Pusz 2022-09-10 08:44:46 +02:00
  • b614a8c887 refactor: all dimension types now have _dim as a suffix Mateusz Pusz 2022-09-09 15:22:35 +02:00