Commit Graph

  • 2b2f381ad5 test: custom_rep_test_min_expl updated for V2 Mateusz Pusz 2023-06-12 11:51:18 +03:00
  • 7b22155bf3 feat: linear algebra library usage re-enabled Mateusz Pusz 2023-06-12 11:47:30 +03:00
  • 272a8d8b5c refactor: QuantityConvertibleTo checks reordered to limit type truncation on conversion warnings Mateusz Pusz 2023-06-12 11:39:18 +03:00
  • 30b0a0c5df fix: RepSafeConstructibleFrom now works correctly with Arg being rvalue reference Mateusz Pusz 2023-06-12 11:38:36 +03:00
  • bb158a69e9 refactor: type_traits usage cleanup Mateusz Pusz 2023-06-12 11:37:39 +03:00
  • 4092700cf9 refactor: casts cleanup and improved Mateusz Pusz 2023-06-12 11:34:07 +03:00
  • 4d2ae79a05 test: some more test suites removed Mateusz Pusz 2023-06-11 20:13:35 +03:00
  • 3887b642fb test: SI tests updated for V2 Mateusz Pusz 2023-06-09 09:31:14 +02:00
  • 2dc420c505 fix: new quantity creation policy for irrational magnitudes forbids creation of longitude and latitude with an integral representation Mateusz Pusz 2023-06-08 22:19:34 +02:00
  • c46ecbd7db test: no longer needed test suites removed Mateusz Pusz 2023-06-08 22:08:19 +02:00
  • c22490290f fix: forgot to commit _quantity_spec_ member added to kind_of Mateusz Pusz 2023-06-08 22:02:34 +02:00
  • f9e1404e02 style: formatting updated to make pre-commit happy Mateusz Pusz 2023-06-08 22:01:40 +02:00
  • 2337ea9159 ci: clang-format updated in pre-commit Mateusz Pusz 2023-06-08 21:58:49 +02:00
  • 4c98c55cca test: angstrom test added to IAU Mateusz Pusz 2023-06-08 21:53:14 +02:00
  • 7c2072f01f test: typographic system tests added Mateusz Pusz 2023-06-08 21:49:58 +02:00
  • d0684c4644 fix: typographic system now explicitly uses international inch to define point Mateusz Pusz 2023-06-08 21:49:24 +02:00
  • 4e756f52d9 test: natural system tests added Mateusz Pusz 2023-06-08 21:29:16 +02:00
  • 340d2f5d2f test: angular tests updated to conform to the latest quantity creation policy (irrational magnitudes require floating-point representation type) Mateusz Pusz 2023-06-08 19:11:03 +02:00
  • ad3935cbfb test: Hubble constant unit symbol test added Mateusz Pusz 2023-06-08 19:10:02 +02:00
  • 9f8973e6f2 refactor: parsec definition refactored Mateusz Pusz 2023-06-08 19:09:20 +02:00
  • f853f1f4ef fix: magnitudes division fixed when units are divided Mateusz Pusz 2023-06-08 19:08:41 +02:00
  • f5e9b42fe1 fix(unit test): missing header file added Mateusz Pusz 2023-06-08 19:07:52 +02:00
  • 6f0f6b2213 feat: make_quantity() and op*(Representation, Unit are now correctly using quantity constructor constraints Mateusz Pusz 2023-06-08 17:41:48 +02:00
  • 05ed7dae88 feat: RepSafeConstructibleFrom now accounts for magnitude representation type Mateusz Pusz 2023-06-08 17:40:01 +02:00
  • 753c8e06d4 test: IAU system tests added Mateusz Pusz 2023-06-08 17:37:43 +02:00
  • 99aa02a83a feat: IAU system extended with new definitions Mateusz Pusz 2023-06-08 17:37:09 +02:00
  • 9d41fb33ef fix: RepSafeConstructibleFrom argument value category fixed Mateusz Pusz 2023-06-08 17:34:19 +02:00
  • dbcbdbcef5 docs: comments cleanup in tests Mateusz Pusz 2023-06-05 19:42:48 +02:00
  • 192bf39654 refactor: natural::speed_of_light_in_vacuum renamed to natural::speed_of_light Mateusz Pusz 2023-06-05 19:37:17 +02:00
  • 7a730fde58 refactor: constant_unit abstraction removed and replaced with regular named_unit Mateusz Pusz 2023-06-05 19:36:22 +02:00
  • 6364fcdf7e fix: IntermediateDerivedQuantitySpec now also accounts for kind_of Mateusz Pusz 2023-06-05 19:26:53 +02:00
  • 06e360ea6d refactor(unit test): angle_test renamed to angular_test Mateusz Pusz 2023-06-05 15:14:42 +02:00
  • 361ff5c3d1 test: international system tests added Mateusz Pusz 2023-06-05 15:06:06 +02:00
  • a6434e6b60 test: some checks from the old v2_framework example moved to proper unit tests Mateusz Pusz 2023-06-05 11:12:34 +02:00
  • 0745fd18f3 fix(unit test): BaseQuantitySpec now is proparly qualified with a detail:: namespace Mateusz Pusz 2023-06-05 11:11:10 +02:00
  • c2e91d41c4 fix: commutativity of a common_unit() fixed Mateusz Pusz 2023-06-05 11:09:02 +02:00
  • 6627b0a491 refactor: glide_computer and storage_tank examples renamed Mateusz Pusz 2023-06-02 13:52:00 +02:00
  • b4953bb0b5 chore: v2_framework example removed Mateusz Pusz 2023-06-02 13:51:14 +02:00
  • 067076143e fix(unit test): detail namespace applied to BaseDimension concept Mateusz Pusz 2023-06-02 10:57:04 +02:00
  • 2e759b29be test: fractional_exponent_quantity test added Mateusz Pusz 2023-06-02 10:54:47 +02:00
  • c5a0539cef refactor: all non-trigonometric math functions made constexpr Mateusz Pusz 2023-06-02 10:53:34 +02:00
  • 621faae8bc feat: sqrt() and cbrt() added for dimension, quantity_spec, and unit Mateusz Pusz 2023-06-01 08:49:08 +02:00
  • 14258c97fd refactor: magnitude::pow() now takes two ints rather than a ratio (consistent with the rest of library) Mateusz Pusz 2023-06-01 08:47:55 +02:00
  • 03b58ee073 refactor: square and cubic are now functions (not variable templates) Mateusz Pusz 2023-06-01 08:45:41 +02:00
  • 7771753163 refactor: make_quantity() forward declaration moved to the beginning of reference.h Mateusz Pusz 2023-05-30 12:06:46 +02:00
  • 45a4b2ac10 feat: make_quantity() usage added to quantity_spec Mateusz Pusz 2023-05-30 12:06:01 +02:00
  • 1a5f22f5c8 test: concepts test added Mateusz Pusz 2023-05-30 12:04:32 +02:00
  • 3713e08a95 refactor: library concepts cleanup Mateusz Pusz 2023-05-30 12:04:07 +02:00
  • d13165d9ae test: CGS tests added Mateusz Pusz 2023-05-27 17:26:06 +02:00
  • b59af895dd fix: CGS definitions fixed Mateusz Pusz 2023-05-27 17:25:43 +02:00
  • 4a93c30593 test: check for inHg and deg_F added to USC tests Mateusz Pusz 2023-05-27 17:24:55 +02:00
  • 1528d94293 chore: linear_algebra example removed Mateusz Pusz 2023-05-27 13:16:16 +02:00
  • 3f5765d229 chore: whitespace in gitpod.yml removed to make pre-commit happy Mateusz Pusz 2023-05-26 18:42:43 +02:00
  • fb54781543 build: magnitude_test disabled for now Mateusz Pusz 2023-05-26 18:36:35 +02:00
  • 6458cd343c ci: pre-commit related changes Mateusz Pusz 2023-05-26 17:05:33 +02:00
  • 1e36d47300 ci: downcast_mode testing removed Mateusz Pusz 2023-05-26 16:00:01 +02:00
  • 879ec35d84 build: conan test_package updated for V2 Mateusz Pusz 2023-05-26 15:57:14 +02:00
  • 40c08c0eae build: catch2 updated to 3.3.2 Mateusz Pusz 2023-05-26 15:56:43 +02:00
  • 4788aa64be build: linear_algebra test disables as the latest version of the LA lib is broken Mateusz Pusz 2023-05-26 15:28:54 +02:00
  • 52bbd00ab4 style: clang-format new rules applied to the code base Mateusz Pusz 2023-05-26 14:20:00 +02:00
  • 561fbf7c93 merge branch master Mateusz Pusz 2023-05-26 13:53:52 +02:00
  • b7e467ff42 Merge pull request #459 from HazardyKnusperkeks/macro Mateusz Pusz 2023-05-26 08:18:58 +02:00
  • 814b731696 Work around Windows macro Björn Schäpers 2023-05-23 22:53:00 +02:00
  • 7d9ae3ec31 refactor: mp_units subdirectory renamed to mp-units Mateusz Pusz 2023-05-25 12:47:10 +02:00
  • a4171e2fb6 docs: some comments and TODOs added Mateusz Pusz 2023-05-25 12:15:52 +02:00
  • 32fcbd7829 fix: quantity_spec ingredients sorting fixed Mateusz Pusz 2023-05-25 11:59:09 +02:00
  • 59a1269174 Merge pull request #460 from tobylorenz/master v0.8.0 Mateusz Pusz 2023-05-25 10:35:27 +02:00
  • 002d5b4275 feat: inch_of_mercury support added Mateusz Pusz 2023-05-25 10:34:34 +02:00
  • 537aca2bc0 Add "inch of mercury" pressure unit as US Custom Unit Tobias Lorenz 2023-05-24 15:28:54 +02:00
  • 299032a7e8 refactor: conversion from quantity to quantity_point is now explicit Mateusz Pusz 2023-05-24 22:42:11 +02:00
  • a3e5c84a47 feat: support for convertibility of point origins added Mateusz Pusz 2023-05-24 22:39:42 +02:00
  • 68b32533a8 test: many new reference tests added Mateusz Pusz 2023-05-22 20:16:37 +02:00
  • d04dab7002 test: more quantity_spec tests added Mateusz Pusz 2023-05-22 17:59:37 +02:00
  • 0f7ae6954f refactor: definitions of derived quantities with equations resulting in electric_current fixed Mateusz Pusz 2023-05-22 17:58:04 +02:00
  • 5b2978b89a feat: UnitOf concept now supports dimensionless[radian] Mateusz Pusz 2023-05-22 17:55:32 +02:00
  • 6975a02570 refactor: InvocableQuantities concept simplified Mateusz Pusz 2023-05-22 17:54:47 +02:00
  • cd2cd620bb refactor: constraints for common_reference improved Mateusz Pusz 2023-05-22 17:54:14 +02:00
  • 26164edeac refactor: constraints for common_unit improved Mateusz Pusz 2023-05-22 17:53:50 +02:00
  • 86e1f058e7 feat: common_quantity_spec extended to properly work with kinds derived from the dimensionless Mateusz Pusz 2023-05-22 17:52:59 +02:00
  • 590539ad6c feat: The last corner cases in quantity_spec conversions addressed Mateusz Pusz 2023-05-22 16:50:04 +02:00
  • 2d2211fffa refactor: UnitOf used in quantity_spec::operator[] Mateusz Pusz 2023-05-18 11:33:10 +02:00
  • 41484742ae fix: missing header file added Mateusz Pusz 2023-05-17 11:50:15 +02:00
  • 34a824b232 feat: UnitOf concept added Mateusz Pusz 2023-05-17 10:35:18 +02:00
  • 7bad01fd45 refactor: Harmonic concept renamed to IntegralConversionFactor Mateusz Pusz 2023-05-16 16:58:16 +02:00
  • 9322aa25e4 Revert "feat: runtime conversion factors between units support added" Mateusz Pusz 2023-05-16 16:41:51 +02:00
  • 81eafbf13e refactor: convertible_result renamed to specs_convertible_result Mateusz Pusz 2023-05-16 16:02:10 +02:00
  • cc8a088013 feat: runtime conversion factors between units support added Mateusz Pusz 2023-05-16 15:01:15 +02:00
  • 9d085cbe7e refactor(example): [[nodiscard]] added for currency Mateusz Pusz 2023-05-16 15:00:18 +02:00
  • 978ce4093a feat: quantity_point converting constructor now takes into account convertibility of the quantity type Mateusz Pusz 2023-05-16 14:08:36 +02:00
  • 1dae61e1c8 feat: quantity converting constructor now takes into account a convertibility of a representation type Mateusz Pusz 2023-05-16 14:07:29 +02:00
  • 01755d66ce fix: forgot to commit a constructor for dimensionless quantities Mateusz Pusz 2023-05-16 14:05:01 +02:00
  • 56c8297c03 refactor: quantity_point binary operators are not hidden friends anymore to prevent surprising conversions Mateusz Pusz 2023-05-16 14:04:01 +02:00
  • a2b1fdd4c8 feat: unit conversion operator added to quantity_point Mateusz Pusz 2023-05-16 13:44:13 +02:00
  • 32aa05700b refactor: quantity binary operators are not hidden friends anymore to prevent surprising conversions Mateusz Pusz 2023-05-16 13:41:41 +02:00
  • 9a51ed55c9 refactor(example): NTTP template deduction failure workaround for HAE altitude Mateusz Pusz 2023-05-15 16:19:44 +02:00
  • fc30bb38dc style: whitespaces fixed to make pre-commit happy Mateusz Pusz 2023-05-15 13:34:01 +02:00
  • ffbb54f789 docs: "Defining Systems" chapter added Mateusz Pusz 2023-05-15 13:28:41 +02:00
  • d97e650cac feat(example): HAE support added to UAV example Mateusz Pusz 2023-05-15 12:58:35 +02:00
  • a9cb0c0a40 refactor(example): msl_altitude moved to geographic.h and the header file was moved to another dir in examples Mateusz Pusz 2023-05-15 12:56:11 +02:00
  • 929dc72f13 fix: compilation-error fixed Mateusz Pusz 2023-05-14 21:56:02 +02:00