Commit Graph

  • b96be72457 feat: 💥 quantity_point does not provide zero() anymore Mateusz Pusz 2023-10-15 09:39:18 +02:00
  • fb71971ef0 fix: iterator is now properly updated for all cases in unit_symbol Mateusz Pusz 2023-10-14 11:44:50 +02:00
  • c9978dd479 refactor: some internal headers moce to the _bits/external_ subdirectory Mateusz Pusz 2023-10-14 11:43:18 +02:00
  • c75559dd34 docs: "i.e." replaced with "e.g." everywhere in the project Mateusz Pusz 2023-10-10 20:24:23 +02:00
  • b7e2033d33 refactor: dead code case for units ordering removed Mateusz Pusz 2023-10-09 12:07:09 -06:00
  • 84df87dd2c Merge pull request #496 from mpusz/unit_compose_ext Mateusz Pusz 2023-10-06 23:52:58 +02:00
  • e23f038173 Merge branch 'master' into unit_compose_ext Mateusz Pusz 2023-10-06 23:38:04 +02:00
  • 9017aab28d test: unit tests added for muliplication and divsion of a quantity by reference Mateusz Pusz 2023-10-06 15:20:20 -06:00
  • cb36e39c2a style: formatting fixed to make pre-commit happy Mateusz Pusz 2023-10-06 13:39:51 -06:00
  • 0d66089853 feat: 💥 inverse() support added for dimensions, quantity_spec, units, and references (1 / s will now create quantity and not a Unit) Mateusz Pusz 2023-10-06 12:53:18 -06:00
  • fa5419b792 fix: unused parametrs identifiers removed Mateusz Pusz 2023-10-04 10:14:57 -06:00
  • a32866abcf Merge branch 'master' of github.com:mpusz/units Mateusz Pusz 2023-10-04 10:09:08 -06:00
  • 25f986d32c fix: MSVC-related fixes and workarounds Mateusz Pusz 2023-10-04 10:00:17 -06:00
  • 00a2bce0e8 fix(example): latitude and longitude fixed to include 0 for N and E respectively Mateusz Pusz 2023-10-03 11:00:33 -06:00
  • 2281be0f76 feat: QuantityLike and QuantityPointLike conversions improved Mateusz Pusz 2023-10-02 21:12:25 -06:00
  • e9387c4014 Merge pull request #495 from mpusz/interop Mateusz Pusz 2023-10-01 16:42:55 +02:00
  • b12b9f87ae feat: quantity and quantity_point conversion operators now can also convert to const references Mateusz Pusz 2023-09-30 22:14:20 -06:00
  • 0999274680 Update src/core/include/mp-units/quantity_point.h Mateusz Pusz 2023-09-30 04:34:46 +02:00
  • 78bf9a9add Update src/core/include/mp-units/quantity.h Mateusz Pusz 2023-09-30 04:34:19 +02:00
  • 5a74cd66ba feat: interoperability with other libraries redesigned Mateusz Pusz 2023-09-29 12:47:02 +02:00
  • 335ebc9b7b style: whitespaces in FAQ fixed to make pre-commit happy Mateusz Pusz 2023-09-30 22:20:42 -06:00
  • cdd90fb93b docs: CameCase concept identifiers FAQ added Mateusz Pusz 2023-09-30 21:52:25 -06:00
  • 04588d9c8b feat: Magnitude / Unit operator added Mateusz Pusz 2023-09-30 21:36:23 -06:00
  • f15baf4c2a fix: clang compilation fixed Mateusz Pusz 2023-09-30 21:35:16 -06:00
  • b2423bfded feat: quantities can now be multiplied and divided by units Mateusz Pusz 2023-09-29 21:40:24 -06:00
  • 476a68ce8e docs: broken internal URL fixed Mateusz Pusz 2023-09-29 11:21:27 +02:00
  • 06e4548dc9 fix: clang compilation of inverse fixed Mateusz Pusz 2023-09-29 10:08:01 +02:00
  • 833851d1cb test: tests for printing of a symbol of a dimensionless unit with the ratio = 1 Mateusz Pusz 2023-09-29 06:31:32 +02:00
  • d5a0874bea fix: symbols of named dimensionless units with the ratio = 1 were not printed Mateusz Pusz 2023-09-29 06:30:28 +02:00
  • caf0e66cb2 test: more unit tests for unit conversions Mateusz Pusz 2023-09-28 09:01:52 +02:00
  • d427849477 refactor: in(U) and force_in(U) now return auto to provide better diagnostics on clang Mateusz Pusz 2023-09-27 17:10:20 +02:00
  • b4bb7227b9 feat: UnitCompatibleWith added and applied to in(U) and force_in(U) functions Mateusz Pusz 2023-09-27 17:06:08 +02:00
  • 969bf9716c ci: gcc-12 installation no longer needed in ci-conan Mateusz Pusz 2023-09-26 19:31:27 +02:00
  • 379a3c91f8 ci: gcc-13 installation added to ci-test-package-cmake Mateusz Pusz 2023-09-26 19:31:01 +02:00
  • b74c0bf6e8 ci: gcc-13 added to ci-test-package-cmake GHAction Mateusz Pusz 2023-09-26 19:17:04 +02:00
  • bbdf290009 fix: clang-17 compilation fixed Mateusz Pusz 2023-09-26 19:15:57 +02:00
  • 92b7069c35 ci: clang-17 enabled Mateusz Pusz 2023-09-26 18:55:02 +02:00
  • 94bd2a23ca build: got rid of old gcc hacks Mateusz Pusz 2023-09-26 18:25:03 +02:00
  • 25fee701a0 build: got rid of old clang hacks and range-v3 dependency Mateusz Pusz 2023-09-26 18:09:06 +02:00
  • 3b6a22d2c0 docs: degree_Celsius comment not needed anymore Mateusz Pusz 2023-09-26 15:48:17 +02:00
  • 993ea8e3ac ci: clang-tools installation added Mateusz Pusz 2023-09-26 15:40:08 +02:00
  • 7a6b629218 feat: gray and sievert now have correct associated quantity kinds Mateusz Pusz 2023-09-26 15:27:43 +02:00
  • 52479412bb docs: TODO note removed Mateusz Pusz 2023-09-26 14:21:37 +02:00
  • ee5b727d2a ci: user.build:skip_docs removed from Conan command line Mateusz Pusz 2023-09-26 14:04:58 +02:00
  • ffba2a5e89 ci: codeql analysis refactored Mateusz Pusz 2023-09-26 14:04:26 +02:00
  • fe70e29bce Create codeql.yml Mateusz Pusz 2023-09-26 13:53:41 +02:00
  • b2beac4ac0 ci: clang-17 support disabled until Conan supports it Mateusz Pusz 2023-09-26 13:22:15 +02:00
  • 28ecc40092 ci: Conan settings.yml file must be created before updating Mateusz Pusz 2023-09-26 13:08:15 +02:00
  • 6324fe9467 ci: GitHub actions updated to the latest versions Mateusz Pusz 2023-09-26 13:06:32 +02:00
  • d9dc374561 build: Conan settings update step moved up Mateusz Pusz 2023-09-26 12:52:51 +02:00
  • 31f45cee79 ci: workaround for Conan not supporting clang-17 Mateusz Pusz 2023-09-26 12:45:51 +02:00
  • 0ca3ff75ff ci: Clang-17 added to CI Mateusz Pusz 2023-09-26 12:32:51 +02:00
  • 77cc08ef77 fix: min and max compilation issues resolved Mateusz Pusz 2023-09-26 12:32:26 +02:00
  • eaf51c467c Merge branch 'master' of github.com:mpusz/mp-units Mateusz Pusz 2023-09-26 10:37:12 +02:00
  • bfbc1785b8 feat: isq::activity added and becquerel definition updated to benefit from it Mateusz Pusz 2023-09-26 10:37:08 +02:00
  • b5f966e54f Merge branch 'master' of github.com:mpusz/units Mateusz Pusz 2023-09-25 19:49:42 +02:00
  • 4a83c66bf4 refactor: clang compile-time errors improved by explicit resolving a type of an using alias Mateusz Pusz 2023-09-25 19:49:35 +02:00
  • 4bde31ee22 build: mp-units version bumped to 2.1.0 Mateusz Pusz 2023-09-24 20:38:10 +02:00
  • daf4657375 docs: library versions bumped in the docs v2.0.0 Mateusz Pusz 2023-09-24 20:06:07 +02:00
  • 9a02f902b9 docs: CHANGELOG updated Mateusz Pusz 2023-09-24 19:59:26 +02:00
  • 80d869e13d docs: workind in one of the comments fixed Mateusz Pusz 2023-09-24 19:43:58 +02:00
  • 9224fc511a fix: static linkage removed from random functions Mateusz Pusz 2023-09-24 19:34:21 +02:00
  • 31f7a43cc6 feat: Initial Vector and Tensor representation concepts implementation vector_and_tensor Mateusz Pusz 2023-09-22 19:29:29 +02:00
  • a356db749e docs: inverse() added to "Other maths" chapter Mateusz Pusz 2023-09-20 20:32:59 +02:00
  • 49da1ced3a refactor: make_reference added and used in constraints for quantity and quantity_point Mateusz Pusz 2023-09-20 20:31:49 +02:00
  • f9ffacc713 feat: inverse() math utility added Mateusz Pusz 2023-09-20 20:13:39 +02:00
  • becca905e7 Merge pull request #484 from mpusz/mpusz/issue477 Mateusz Pusz 2023-09-18 10:42:15 +02:00
  • b76337d5bb feat: pre-increment and pre-decrement operators now preserve value category Mateusz Pusz 2023-09-14 12:42:45 +02:00
  • ff4755d5e5 feat: quantity_ref_from disallowed for rvalues Mateusz Pusz 2023-09-13 20:11:59 +02:00
  • 2b3c9a6afa feat: quantity_point compound assignment now preserves the value category Mateusz Pusz 2023-09-13 20:06:17 +02:00
  • 2e26eed59d feat: numerical_value_ref_in disallowed for rvalues Mateusz Pusz 2023-09-13 19:59:49 +02:00
  • 6a1e600f65 feat: quantity compound assignment now preserves the value category Mateusz Pusz 2023-09-13 19:57:05 +02:00
  • 6d619d67ef refactor(example): get_magnitude improved for linear algebra Mateusz Pusz 2023-09-13 19:53:32 +02:00
  • dc2d0dfca7 feat: force_in(U) added for quantity_point Mateusz Pusz 2023-09-13 18:40:51 +02:00
  • f74da4335b refactor: quantity_point::q_ renamed to quantity_from_origin_ Mateusz Pusz 2023-09-13 18:28:49 +02:00
  • 2e1a017376 refactor: quantity::_value data member renamed to numerical_value_ Mateusz Pusz 2023-09-13 16:21:57 +02:00
  • 0e974a7f32 fix: hacks for clang-16 compilation added Mateusz Pusz 2023-09-13 12:21:17 +02:00
  • e085beef40 feat: qp.quantity_from(PO) added Mateusz Pusz 2023-09-13 11:57:22 +02:00
  • 75fc3a0384 style: more whitespace issues caused by rebase fixed Mateusz Pusz 2023-09-13 11:56:06 +02:00
  • 6c576d7120 style: another whitespace removed from the currency example Mateusz Pusz 2023-09-13 11:27:56 +02:00
  • 414f1d1007 style: additional whitespace removed from conversion_factor example Mateusz Pusz 2023-09-13 11:26:55 +02:00
  • 2834c571cd docs: "Comparison against zero" chapter added Mateusz Pusz 2023-09-13 11:13:42 +02:00
  • bf954cfcaf docs: q.force_in(U) documentation added Mateusz Pusz 2023-09-13 10:44:50 +02:00
  • a6284aa293 refactor: some value_cast<U>(q) replaced with q.force_in(U) Mateusz Pusz 2023-09-13 10:43:08 +02:00
  • f7f63e8c4c refactor: force_numerical_value_in refactored to use force_in in the implemenation and constraints Mateusz Pusz 2023-09-13 10:41:15 +02:00
  • 1c7928021d feat: force_in(U) support added Mateusz Pusz 2023-09-13 10:18:07 +02:00
  • 2b2f62d038 feat: force_numerical_value_in(U) added Mateusz Pusz 2023-09-12 16:33:02 +02:00
  • 40c809091d fix: numerical_value_ref_in name fixed for this deduction in quantity Mateusz Pusz 2023-09-11 19:36:06 +02:00
  • 3b2ca4084a refactor: quantity_point::quantity_from_origin() refactored to quantity_point::quantity_ref_from(PO) Mateusz Pusz 2023-08-27 21:16:29 +02:00
  • a7711cb301 refactor: quantity::value() refactored to quantity::value_ref_in(U) Mateusz Pusz 2023-08-27 20:19:26 +02:00
  • c30285ff96 fix: forgot to add compare_test.cpp to CMake Mateusz Pusz 2023-09-13 09:14:45 +02:00
  • b7bab8c7e6 refactor: isq::speed_of_light renamed to isq::speed_of_light_in_vacuum Mateusz Pusz 2023-09-13 09:14:20 +02:00
  • e36fe151ea refactor(example): storage_tank refactored Mateusz Pusz 2023-09-13 09:01:03 +02:00
  • 89eba3cd66 docs: additional code example added to the "Value-preserving conversions" chapter Mateusz Pusz 2023-09-13 09:00:21 +02:00
  • 11a539cabc docs: units composition FAQ cleanup Mateusz Pusz 2023-09-13 08:59:29 +02:00
  • 76a9e0ff6e refactor(example): hello_units refactored to not use auto Mateusz Pusz 2023-09-13 08:58:38 +02:00
  • 9d64b75afe docs: basic examples refactored to not use auto Mateusz Pusz 2023-09-13 08:58:17 +02:00
  • cbcc6f4627 feat: compare.h header added with checks against zero Mateusz Pusz 2023-09-13 08:55:06 +02:00
  • c4ad3039b3 refactor: asserts for zero simplified in quantity Mateusz Pusz 2023-09-13 08:52:01 +02:00
  • 507d5bc446 fix(unit test): vector<T> now properly propagates treat_as_floating_point Mateusz Pusz 2023-09-10 14:17:59 +02:00