Yves Delley
|
c0efdb1790
|
better handle simultaneous change of representation, unit and point_origin in value_cast, to prevent overflow in more cases.
|
2024-05-12 10:57:33 +02:00 |
|
Yves Delley
|
c51baae074
|
value_cast overloads for ToQ and ToQP
|
2024-05-10 23:40:54 +02:00 |
|
Yves Delley
|
f74f99b7b1
|
Merge branch 'master' into bugfix/allow-lvalue-references-in-value-cast
|
2024-05-10 23:29:43 +02:00 |
|
Yves Delley
|
1eb491750c
|
fix formatting
|
2024-05-10 23:26:12 +02:00 |
|
Yves Delley
|
14f658120e
|
fix value_cast with lvalue references to quantity_point
|
2024-05-10 23:14:17 +02:00 |
|
Mateusz Pusz
|
9300cb72ea
|
Merge pull request #570 from burnpanck/feature/math-for-quantity-point
added support for quantity_point math
|
2024-05-11 05:38:49 +09:00 |
|
Yves Delley
|
086e62c80c
|
suggestions from review
|
2024-05-10 22:23:52 +02:00 |
|
Yves Delley
|
d03f9c17a3
|
fix constexpr and format
|
2024-05-10 20:15:15 +02:00 |
|
Yves Delley
|
d8371074f8
|
fix quantity_cast to accept lvalue references
|
2024-05-10 20:07:07 +02:00 |
|
Yves Delley
|
ddbdd6a4c2
|
added support for isfinite isinf and isnan on instances of quantity_point
|
2024-05-10 20:05:36 +02:00 |
|
Mateusz Pusz
|
54d144d112
|
refactor: workarounds for clang-tidy-18
|
2024-05-08 14:46:04 +02:00 |
|
Mateusz Pusz
|
1c164b798a
|
fix: some clang-tidy related changes reverted to fix clang-16 compilation
|
2024-05-08 12:14:38 +02:00 |
|
Mateusz Pusz
|
3dcb8f4f49
|
refactor: remove dependency on <ranges> header and switch to use an iterator-based copy algorithm
|
2024-05-08 11:18:54 +02:00 |
|
Mateusz Pusz
|
75f719add7
|
refactor: code refactored to comply with clang-tidy
|
2024-05-08 11:12:38 +02:00 |
|
Mateusz Pusz
|
901b5e5394
|
docs: formatting grammar language changed to EBNF
|
2024-05-05 18:58:40 +02:00 |
|
Mateusz Pusz
|
79a1d61c5c
|
fix: handling of MP_UNITS_BUILD_CXX_MODULES fixed
|
2024-04-25 19:33:30 +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
|
fbe3cec982
|
feat: 💥 core.h removed
|
2024-04-25 16:09:00 +02:00 |
|
Mateusz Pusz
|
56bfe8f011
|
refactor: underlying_type split to wrapped_type and value_type and used in code
|
2024-04-25 16:08:23 +02:00 |
|
Mateusz Pusz
|
4e339cdcd8
|
docs: ext header files got comments describing their purpose
|
2024-04-25 14:36:35 +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
|
2a05f931e7
|
build: MP_UNITS_BUILD_AS_SYSTEM_HEADERS restored (but renamed)
|
2024-04-24 20:17:39 +02:00 |
|
Mateusz Pusz
|
ece2b096fb
|
style: clang-format to make pre-commit happy
|
2024-04-23 09:19:50 +02:00 |
|
Mateusz Pusz
|
15389107d4
|
fix: dependencies on cstdint header fixed
|
2024-04-23 08:59:14 +02:00 |
|
Mateusz Pusz
|
8580c59875
|
build: formatting headers moved back to compat_macros.h but this time they are included conditionally
|
2024-04-23 08:56:27 +02:00 |
|
Mateusz Pusz
|
5449fe7418
|
fix: formatting headers added to core_gmf.h
|
2024-04-22 21:20:24 +02:00 |
|
Mateusz Pusz
|
3a16a020e7
|
fix: fixed_string compilation fixed
|
2024-04-22 20:46:40 +02:00 |
|
Mateusz Pusz
|
031fa62e36
|
refactor: reference returns auto to improve compilation times
|
2024-04-22 19:22:01 +02:00 |
|
Mateusz Pusz
|
e20492e159
|
build: formatting headers moved from compat_macros.h to fmt.h
|
2024-04-22 19:21:18 +02:00 |
|
Mateusz Pusz
|
94a9a28d90
|
refactor: ISQ quantities includes in the chrono.h limited to the SI quantities only
|
2024-04-19 16:54:40 +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
|
72491443fc
|
fix: use std::formattable only when fmtlib is not used
|
2024-04-19 15:30:42 +01:00 |
|
Mateusz Pusz
|
f90a218705
|
refactor: 💥 ratio hidden as an implementation detail behind mag_ratio
|
2024-04-19 15:29:00 +01:00 |
|
Mateusz Pusz
|
17de6bd872
|
fix: clang compilation fixed workarounded with the CTAD for quantity_formatter
|
2024-04-19 14:38:11 +01:00 |
|
Mateusz Pusz
|
86743d6d24
|
fix: std::formattable usage is now conditional
|
2024-04-18 22:41:13 +01:00 |
|
Mateusz Pusz
|
fa04e93687
|
feat: New formatting specification implemented
|
2024-04-18 22:29:09 +01:00 |
|
Mateusz Pusz
|
ae1003b279
|
Merge pull request #563 from NoahBres/master
Prepend detail namespace to `external/type_name`
|
2024-04-19 06:17:41 +09:00 |
|
nbresler
|
7705d8b746
|
New line
|
2024-04-18 10:35:01 -07:00 |
|
nbresler
|
0346a4a4d3
|
Prepend details namesapce
|
2024-04-18 10:21:26 -07:00 |
|
Mateusz Pusz
|
c8b535cf4c
|
feat: improved automatic mode of MP_UNITS_API_STD_FORMAT
|
2024-04-18 17:38:11 +01:00 |
|
Nebojsa Cvetkovic
|
069f2bf11a
|
feat: IEEE floating-point division remainder
|
2024-04-18 12:04:12 +01:00 |
|
Mateusz Pusz
|
1e3a93d10c
|
docs: new formatting syntax ideas
|
2024-04-17 14:20:15 +01:00 |
|
Mateusz Pusz
|
8e50eae64f
|
style: header files order changed to make pre-commit happy
|
2024-04-16 22:14:35 +01:00 |
|
Mateusz Pusz
|
c40967bb2e
|
fix: CMake config file now has a proper logic for std::format
|
2024-04-16 22:12:43 +01:00 |
|
Mateusz Pusz
|
8e0a26b933
|
feat: 💥 API-related Conan, CMake, and preprocessor options redesigned
|
2024-04-16 21:48:36 +01:00 |
|
Mateusz Pusz
|
0644790198
|
fix: zero-initialization for a unit symbol buffer
|
2024-03-19 10:37:47 +09:00 |
|
Mateusz Pusz
|
a62fdd2331
|
refactor: precondition checks and asserts cleanup
|
2024-03-19 10:37:01 +09:00 |
|
Mateusz Pusz
|
fb97c2ea5a
|
refactor: basic_symbol_text renamed to symbol_text
|
2024-03-18 23:12:39 +09:00 |
|