Commit Graph

  • 4651c61be4 refactor: Unicode symbols description reworked based on the latest SG16 recommendations Mateusz Pusz 2024-10-28 16:03:09 +01:00
  • c72d801ef8 docs: ISQ part 4 released Mateusz Pusz 2024-10-28 11:11:57 +01:00
  • c4583d279f docs: CHANGELOG updated Mateusz Pusz 2024-10-27 15:34:39 +01:00
  • 9c2be96ac2 docs: 2.4.0 release announcement draft added Mateusz Pusz 2024-10-27 15:34:18 +01:00
  • 045410707e refactor: expr_fractions takes direct OneType type now instead of a trait Mateusz Pusz 2024-10-27 08:02:03 +01:00
  • 76057eaf7c feat(example): treat_as_floating_point specializations for examples' types removed Mateusz Pusz 2024-10-26 19:15:34 +02:00
  • 48fcbb8030 feat: DerivedDimensionExpr removed Mateusz Pusz 2024-10-26 19:14:11 +02:00
  • 424f9665db feat: std::is_object constraint applied to value_type_t Mateusz Pusz 2024-10-26 19:12:10 +02:00
  • 2a1edbe47a fix: ValuePreservingTo fixed to apply std::remove_cvref_t on FromRep Mateusz Pusz 2024-10-26 19:11:10 +02:00
  • 8b46723fe2 refactor: wrapped_type_t reuses std::indirectly_readable_traits Mateusz Pusz 2024-10-26 19:09:30 +02:00
  • 8d24b47948 refactor: treat_as_floating_point simplified and extended to use std::chrono::treat_as_floating_point_v Mateusz Pusz 2024-10-26 19:06:14 +02:00
  • e72f3da6d9 refactor: magnitude operators arguments renamed Mateusz Pusz 2024-10-26 11:01:54 +02:00
  • 4eca0dbc35 refactor: QuantitySpecWithNoSpecifiers removed and kind_of definition simplified Mateusz Pusz 2024-10-26 09:30:17 +02:00
  • 6ff77120a0 refactor: small unit_concepts.h cleanup Mateusz Pusz 2024-10-25 22:54:32 +02:00
  • d83cbc049f feat: MagnitudeSpecExpr and PowerVBase removed and some functions renamed to limit possible ambiguity in overload resolution Mateusz Pusz 2024-10-25 22:53:03 +02:00
  • f17e707edc fix: subsumption of QuantityKindSpec fixed Mateusz Pusz 2024-10-25 22:49:58 +02:00
  • 5ef499ac94 feat: DerivedQuantitySpecExpr and DerivedUnitExpr removed Mateusz Pusz 2024-10-25 22:49:06 +02:00
  • 9c7d3b0f95 fix: operator*(M, U u) fixed for U being scaled_unit Mateusz Pusz 2024-10-25 12:07:06 +02:00
  • af18a6ba51 refactor: 💥 𝜋 replaced with π Mateusz Pusz 2024-10-24 07:22:45 +02:00
  • 08b6a51b22 refactor: framework Unicode symbols are now spelled using their codes Mateusz Pusz 2024-10-23 22:12:53 +02:00
  • 1e38b2791c docs: links to the articles from the ISQ series updated Mateusz Pusz 2024-10-22 20:26:35 +02:00
  • 245f612210 docs: ISQ part 3 blog post released Mateusz Pusz 2024-10-21 13:03:33 +02:00
  • 113eb8c735 fix: IWYU: ratio.h in quantity_spec.h Mateusz Pusz 2024-10-20 21:10:44 +02:00
  • 035eb3acb4 refactor: SameDimension concept is not needed and can be inlined in DimensionOf Mateusz Pusz 2024-10-20 21:10:03 +02:00
  • 10030c540b test: pow<0> and pow<1> tests added for dimensions Mateusz Pusz 2024-10-20 21:08:42 +02:00
  • efb9711f94 feat: expr_pow extended to remove redundancy in callers Mateusz Pusz 2024-10-20 09:46:22 +02:00
  • a7fcb1d40f style: trailing whitespace fixed in docs Mateusz Pusz 2024-10-16 17:23:57 +02:00
  • 00847ab558 fix(tests): freestanding build fixed Mateusz Pusz 2024-10-16 17:22:59 +02:00
  • 58f07799e8 docs: "Many shades of the same unit" extended with a note about the derived units order Mateusz Pusz 2024-10-16 17:18:19 +02:00
  • 50b4ed94d2 docs: "Why derived units order is not preserved from the multiplication?" chapter added to FAQ Mateusz Pusz 2024-10-16 17:17:48 +02:00
  • b5ca8c78eb test: one kind_of test added to reference tests Mateusz Pusz 2024-10-15 21:07:46 +02:00
  • 21784b125e refactor: derived_quantity refactored to child_quantity Mateusz Pusz 2024-10-15 21:06:52 +02:00
  • 3eecdf3946 test: commutativity tests added to ISQ Mateusz Pusz 2024-10-15 21:06:18 +02:00
  • 820c7a5959 test: more std::chrono tests added Mateusz Pusz 2024-10-15 21:04:52 +02:00
  • 91f0ad0a12 refactor: quantity.h is not needed in constants.h (unit.h is enough) Mateusz Pusz 2024-10-15 21:03:43 +02:00
  • f60328725e build: operator*(R, Rep&&) deletion comment fixed Mateusz Pusz 2024-10-15 21:02:37 +02:00
  • 931656254f refactor: 💥 char_traits removed from fixed_string Mateusz Pusz 2024-10-15 21:00:50 +02:00
  • 6c4f7e2692 refactor: one_of usage removed from the fixed_string deduction guides Mateusz Pusz 2024-10-15 20:53:53 +02:00
  • 5742ca8162 docs: "Common units" chapter cleanup Mateusz Pusz 2024-10-15 20:52:51 +02:00
  • 6591a65d06 feat: 𝜋 added as an alias for pi Mateusz Pusz 2024-10-14 22:49:58 +02:00
  • f5649205cf docs: simple grammar fix to the previous commit Mateusz Pusz 2024-10-14 19:03:04 +02:00
  • 8f45f5f66d docs: intro to ISQ part 2 changed Mateusz Pusz 2024-10-14 19:01:35 +02:00
  • a6e4f897a8 docs: ISQ part 2 published Mateusz Pusz 2024-10-14 18:42:50 +02:00
  • 89bafed961 docs: conan profile updated to present gcc-14 instead of gcc-12 which is no longer supported Mateusz Pusz 2024-10-11 12:59:38 +02:00
  • 87d0d73d1b fix: MSVC bug workaround Mateusz Pusz 2024-10-10 22:40:49 +02:00
  • 527c6dae63 test: fmt unit tests updated to the latest version Mateusz Pusz 2024-10-10 09:00:31 +02:00
  • 195c3ad68b test: Unicode symbols used in unit tests Mateusz Pusz 2024-10-10 00:12:43 +02:00
  • d790c8b44a feat: Unicode unit symbols Mateusz Pusz 2024-10-10 00:10:05 +02:00
  • 4eb63227e2 refactor: 💥 ascii -> portable, unicode -> utf8, 'A' -> 'P' Mateusz Pusz 2024-10-10 00:02:08 +02:00
  • cb424a79c0 fix: math functions constraints fixed Mateusz Pusz 2024-10-09 18:28:44 +02:00
  • f1590b0f04 refactor: magnitude::op==() now uses our own is_same_v Mateusz Pusz 2024-10-09 17:28:04 +02:00
  • 2b1e7edd69 refactor: derived_from_the_same_base_dimension no longer needed Mateusz Pusz 2024-10-09 17:27:01 +02:00
  • 70a18fec0c refactor: 💥 op==(U1, U2) now checks for the same type (old behavior available as equivalent(U1, U2)) + convertible now verifies associated quantity_spec as well Mateusz Pusz 2024-10-09 17:26:13 +02:00
  • e3ce507fd3 docs: initial version of ISQ part 5 added Mateusz Pusz 2024-10-08 09:15:57 +02:00
  • 01c5169600 docs: ISQ part 1 published Mateusz Pusz 2024-10-07 08:42:38 +02:00
  • dd55a52675 feat: alternative litre unit symbol L added to prevent ambiguities with 1 Mateusz Pusz 2024-10-06 08:32:38 +02:00
  • 2249879d62 feat: litre text symbol changed from l to L to avoid ambiguity with 1 Mateusz Pusz 2024-10-06 08:17:30 +02:00
  • 65860ad7d7 build: setting of some test_package CMake options enabled only for a cxx_modules build Mateusz Pusz 2024-10-06 08:06:38 +02:00
  • ee7caf494e docs: better_type_name description added in a comment Mateusz Pusz 2024-10-06 08:05:10 +02:00
  • cff9e25d3e feat: common_unit selection algorithm improved to make rev + rad return rad Mateusz Pusz 2024-10-05 22:57:46 +02:00
  • 21d07a4cf4 docs: "Symbols of scaled units" chapter added + minor updates to scaled and common units chapters Mateusz Pusz 2024-10-05 18:11:18 +02:00
  • 569f27af8b fix: common_unit handling fixed for some corner cases Mateusz Pusz 2024-10-05 17:52:52 +02:00
  • 07e4e795c1 refactor: magnitude interface cleanup Mateusz Pusz 2024-10-04 17:22:15 +02:00
  • f07e518ff0 test: unit tests for the inverse of mag_constant added Mateusz Pusz 2024-10-04 14:59:39 +02:00
  • fbe384a476 feat: TagType concept added Mateusz Pusz 2024-10-04 14:55:59 +02:00
  • 909d7d9065 docs: added TODO for radical powers of magnitude tests Mateusz Pusz 2024-10-04 09:13:08 +02:00
  • a95b2c770e fix: explicit cast added to less for magnitudes to fix clang-arm64 conversion error Mateusz Pusz 2024-10-03 22:10:38 +02:00
  • cc521ee723 fix: magnitude compilation fixed Mateusz Pusz 2024-10-03 20:40:46 +02:00
  • dba8b07eb5 feat: added support for printing powers of magnitude constants Mateusz Pusz 2024-10-03 19:34:16 +02:00
  • d783c3cda9 feat: magnitude text now obeys formatting parameters and knows how to print constants Mateusz Pusz 2024-10-03 18:39:41 +02:00
  • 5c1035a312 fix: extraneous space in unit symbol having only denominators removed Mateusz Pusz 2024-10-03 18:34:37 +02:00
  • 2c15f3c058 feat: tag types are now required to be empty Mateusz Pusz 2024-10-03 16:51:01 +02:00
  • 6f771e0ed7 refactor: shorten_T removed Mateusz Pusz 2024-10-03 16:46:57 +02:00
  • 87ed5c02d2 refactor: unit_symbol_formatting moved to a dedicated header file Mateusz Pusz 2024-10-03 16:46:17 +02:00
  • 1ee98471ac refactor: unit_symbol_impl simplified Mateusz Pusz 2024-10-03 16:44:59 +02:00
  • 51dc1d7469 fix: according to ISO 80000-16 % should always be prefixed with space Mateusz Pusz 2024-10-03 11:54:40 +02:00
  • 1a8a386460 feat: fractional exponents support added to mag_power Mateusz Pusz 2024-10-03 10:25:23 +02:00
  • f3e1ace5f6 refactor(tests): usf alias provided in unit_symbol_test.h Mateusz Pusz 2024-10-03 09:22:49 +02:00
  • defc69b346 refactor: 💥 mag_constant now takes a symbol and a value and the class deriving from it must be final Mateusz Pusz 2024-10-02 19:05:45 +02:00
  • 79cfd3ec9a fix: clang-16 compilation fixed Mateusz Pusz 2024-10-02 18:01:34 +02:00
  • eeece8a356 feat: scaled_unit does not have a priority over derived_unit anymore Mateusz Pusz 2024-10-02 16:10:29 +02:00
  • d7309c8602 feat: scaled_unit symbol printing improved ([] around the entire unit, small magnitude values do not use a power of 10 anymore) Mateusz Pusz 2024-10-02 15:27:38 +02:00
  • 61817ae61f refactor: abs moved to constexpr_math.h Mateusz Pusz 2024-10-02 15:24:52 +02:00
  • 25e99fe0fa feat: common unit symbols now use EQUIV{u1, u2, ...} syntax Mateusz Pusz 2024-10-02 08:14:14 +02:00
  • 0d00be067a refactor: convertible(U1, U2) implementation simplified Mateusz Pusz 2024-10-01 21:37:31 +02:00
  • 246defb9b2 fix: constraits for magnitude added for scaled_unit and fixed common_unit instantiating it incorrectly Mateusz Pusz 2024-10-01 21:36:33 +02:00
  • 4a98817c15 feat(example): currency example now uses chrono::time_point and has better interfaces Mateusz Pusz 2024-10-01 19:53:02 +02:00
  • 74c55baebe docs: minor cleanup of quantity hierarchies Mateusz Pusz 2024-10-01 19:52:06 +02:00
  • 77aa13e54d docs: minor cleanup of part 1 and 3 of ISQ series Mateusz Pusz 2024-10-01 19:51:15 +02:00
  • 50bfb1a21c docs: ISQ part 4 added Mateusz Pusz 2024-10-01 19:50:48 +02:00
  • 1ff527b5e8 docs: ISQ parts 1-3 improved Mateusz Pusz 2024-10-01 12:07:19 +02:00
  • e7663fe9fd ci: MSVC enabled on CMake CI Mateusz Pusz 2024-09-30 20:03:10 +02:00
  • a9fc203ee5 fix: MSVC workaround applied to test_package Mateusz Pusz 2024-09-30 19:46:21 +02:00
  • 1039332750 style: pre-commit whitespaces cleanup in ISQ articles Mateusz Pusz 2024-09-30 19:21:36 +02:00
  • c9c22ba08a ci: commands of ci-conan fixed for MSVC Mateusz Pusz 2024-09-30 19:19:19 +02:00
  • 367b03358d docs: "MSVC compiler support" chapter added to the 2.3.0 announcement Mateusz Pusz 2024-09-30 19:11:10 +02:00
  • cc043360d5 ci: MSVC added to the CI Mateusz Pusz 2024-09-30 19:07:37 +02:00
  • 5f1c53dcd8 docs: typo fixed in the "iec80000 system renamed to iec" chapter of the 2.3.0 announcement Mateusz Pusz 2024-09-30 18:57:42 +02:00
  • 801e14c9d9 docs: minor styling changes to the "Systems of Quantities" chapter Mateusz Pusz 2024-09-30 18:25:53 +02:00
  • 189e75b3c2 docs: 3 first articles of the ISQ series added Mateusz Pusz 2024-09-30 18:25:03 +02:00