Commit Graph
1597 Commits
Author SHA1 Message Date
Mateusz Pusz cb7cbf4cb3 refactor: fixed_string refactoring to match the R2 specs 2024-05-22 12:18:48 +02:00
Mateusz Pusz 7322d9a10f refactor: std::simd-like integral_constant usage added to member functions 2024-05-21 12:11:43 +02:00
Mateusz Pusz 20b0848031 refactor: 2-parameters fixed_string constructors are not explicit anymore 2024-05-21 12:11:00 +02:00
Mateusz Pusz 15a6d02152 Merge branch 'master' of github.com:mpusz/mp-units 2024-05-16 12:33:58 +02:00
Mateusz Pusz 5dc21fd29b refactor: zeroth_degree_Fahrenheit definition simplified 2024-05-16 12:33:28 +02:00
Mateusz Pusz ecb39d79c0 fix: missing headers added to quantity_spec.h 2024-05-16 12:31:30 +02:00
Mateusz Pusz a479246ea7 feat: basic_fixed_string implementation and testing improved 2024-05-16 12:30:45 +02:00
Yves DelleyandMateusz Pusz 6c85ba3f17 Update src/systems/include/mp-units/systems/si/unit_symbols.h
Co-authored-by: Mateusz Pusz <mateusz.pusz@gmail.com>
2024-05-14 15:50:04 +02:00
Yves Delley d4734f630d add missing unit symbols for ohm 2024-05-11 11:10:30 +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