Commit Graph
799 Commits
Author SHA1 Message Date
Mateusz Pusz 430b37e108 build: -Wno-subobject-linkage added for GCC compilation of static unit tests 2024-05-16 14:06:33 +02:00
Mateusz Pusz 2a5d5c4ebf fix: missing sstream header added to fixed_string_test 2024-05-16 13:06:34 +02:00
Mateusz Pusz 15a6d02152 Merge branch 'master' of github.com:mpusz/mp-units 2024-05-16 12:33:58 +02:00
Mateusz Pusz a479246ea7 feat: basic_fixed_string implementation and testing improved 2024-05-16 12:30:45 +02:00
Yves Delley 14f658120e fix value_cast with lvalue references to quantity_point 2024-05-10 23:14:17 +02:00
Yves Delley 8f8b908b3d added more tests, hopefully, the issue does now surface 2024-05-10 23:07:55 +02:00
Yves Delley be8fc9eb98 add tests for value_cast of quantity_point 2024-05-10 22:45:33 +02:00
Yves DelleyandMateusz Pusz 09c7b059c7 review suggestions
Co-authored-by: Mateusz Pusz <mateusz.pusz@gmail.com>
2024-05-10 21:38:40 +02:00
Yves Delley c2fa8a9000 avoid using a function for the lvalue test 2024-05-10 21:13:21 +02:00
Yves Delley d03f9c17a3 fix constexpr and format 2024-05-10 20:15:15 +02:00
Yves Delley b119abed56 add test for lvalue references in quantity_cast 2024-05-10 20:01:35 +02:00
Mateusz Pusz 54d144d112 refactor: workarounds for clang-tidy-18 2024-05-08 14:46:04 +02:00
Mateusz Pusz 5bac7d341d style: clang-format applied to distibution_test.cpp 2024-05-08 12:16:02 +02:00
Mateusz Pusz 75f719add7 refactor: code refactored to comply with clang-tidy 2024-05-08 11:12:38 +02:00
Mateusz Pusz f770057052 refactor: IWYU updates 2024-04-25 19:33:03 +02:00
Mateusz Pusz 8ea346be1c refactor: 💥 header files with the entire system definitions moved up in the directory tree 2024-04-25 16:34:11 +02:00
Mateusz Pusz 11960a23ae refactor: 💥 type list tools made and implementation detail of the library 2024-04-24 21:10:25 +02:00
Mateusz Pusz c066104af7 refactor: 💥 framework.h introduced + IWYU 2024-04-24 21:09:29 +02:00
Mateusz Pusz 15389107d4 fix: dependencies on cstdint header fixed 2024-04-23 08:59:14 +02:00
Mateusz Pusz 1a6dbfd66e refactor: magnitude_test updated with the latest changes 2024-04-19 17:08:09 +01:00
Mateusz Pusz 41f500e729 Merge pull request #555 from mpusz/new_format
docs: new formatting syntax ideas
2024-04-20 00:18:23 +09:00
Mateusz Pusz f90a218705 refactor: 💥 ratio hidden as an implementation detail behind mag_ratio 2024-04-19 15:29:00 +01:00
Mateusz Pusz c5afd722e7 docs: Some docs updated to reflect the latest formatting changes 2024-04-18 22:40:30 +01:00
Mateusz Pusz fa04e93687 feat: New formatting specification implemented 2024-04-18 22:29:09 +01:00
Nebojsa Cvetkovic 069f2bf11a feat: IEEE floating-point division remainder 2024-04-18 12:04:12 +01:00
Mateusz Pusz 8e0a26b933 feat: 💥 API-related Conan, CMake, and preprocessor options redesigned 2024-04-16 21:48:36 +01:00
Mateusz Pusz 7b57ce5ab1 build: 💥 MP_UNITS_BUILD_LA and MP_UNITS_IWYU CMake options now have _DEV_ in the name 2024-04-12 09:43:02 +02:00
Mateusz Pusz fb97c2ea5a refactor: basic_symbol_text renamed to symbol_text 2024-03-18 23:12:39 +09:00
Mateusz Pusz 16f4f5d4a8 refactor: fixed_string refactored to reflect the latest changes to P3094R1 2024-03-18 22:50:35 +09:00
Mateusz Pusz 5d041fda2d test: unit_symbol() and dimension_symbol() runtime unit tests added 2024-02-27 10:23:09 +01:00
Mateusz Pusz e50d75a104 feat: dimension text output added
Resolves #421
2024-02-26 09:30:08 +01:00
Mateusz Pusz 10ee4cc13c feat: some light and radiation ISQ quantities added 2024-02-24 09:32:58 +01:00
Mateusz Pusz f1639a038b style: headers reordered to make pre-commit happy 2024-02-23 22:24:26 +01:00
Mateusz Pusz 5ca9168381 feat: proper exports implemented for C++ modules 2024-02-23 21:09:17 +01:00
Mateusz Pusz cc05323b36 Merge pull request #551 from mpusz/typed_references
feat: improve types readability by eliminating extraneous () for a value of a type for references
2024-02-21 10:36:09 +01:00
Mateusz Pusz 1afb3d5c18 Merge branch 'master' of github.com:mpusz/units 2024-02-20 19:59:53 +01:00
Mateusz Pusz cd61e077b7 test: a few quantity_spec tests added 2024-02-20 19:59:46 +01:00
Mateusz Pusz f81e9bdcfe refactor: kind_of_ refactored to take a type to improve error messages 2024-02-20 19:49:22 +01:00
Mateusz Pusz cb858f1e51 feat: ABI concerns resolved with introduction of u8 strings for symbols 2024-02-16 22:13:13 +01:00
Mateusz Pusz 2e609d9d6d fix: add missing unit test changes 2024-02-13 21:14:00 +01:00
Mateusz Pusz 26a7b35e73 Merge pull request #550 from mpusz/typed_prefixes
feat: improve types readability by eliminating extraneous `()` for a value of a type for prefixes
2024-02-13 20:45:53 +01:00
NickandMateusz Pusz 34eac6a61e Update test/runtime/atomic_test.cpp
Co-authored-by: Mateusz Pusz <mateusz.pusz@gmail.com>
2024-02-10 11:35:09 -08:00
NickandMateusz Pusz 947baa6d67 Update test/runtime/atomic_test.cpp
Co-authored-by: Mateusz Pusz <mateusz.pusz@gmail.com>
2024-02-10 09:35:04 -08:00
Nick Thompson c313c2c083 Ensure mp-units are compatible with std::atomic 2024-02-10 08:43:44 -08:00
Mateusz Pusz 8b5d2ead52 fix: si_test compilation fixed 2024-02-05 19:45:08 +01:00
Mateusz Pusz b4c08bb8fe feat: improve types readability by eliminating extraneous () for a value of a type for references
Resolves #533
2024-02-05 19:41:53 +01:00
Mateusz Pusz 25a4c7c128 fix: quantity_test compilation fixed 2024-02-05 19:32:38 +01:00
Mateusz Pusz 96dcea751d feat: improve types readability by eliminating extraneous () for a value of a type for prefixes 2024-02-05 19:12:47 +01:00
Mateusz Pusz 3382cb4b30 fix: compilation issues fixed 2024-01-26 16:04:59 +01:00
Mateusz Pusz 8fb800670c refactor: 'o' replaced with '1' as a modifier for unit_symbol_solidus::one_denominator 2024-01-23 21:20:22 +01:00