Commit Graph
1860 Commits
Author SHA1 Message Date
Mateusz Pusz cc9947bd8b refactor: 💥 MP_UNITS_USE_LIBFMT renamed to MP_UNITS_USE_FMTLIB 2024-01-12 14:18:57 +01:00
Mateusz Pusz 9511995d04 build: find_package() calls don't spell CONFIG explicitly anymore 2024-01-12 12:32:12 +01:00
Mateusz Pusz 09873c203c fix: setting cxx_std_20 fixed for library modules 2024-01-08 13:11:05 +01:00
Mateusz Pusz 5293589900 build: all the targets now set C++20 as the minimum required version 2024-01-08 13:02:02 +01:00
Mateusz Pusz 720f31055f docs: chrono.h header file location updated 2024-01-07 15:44:36 +01:00
Mateusz Pusz 53e25582e6 fix: target_sources with FILE_SET HEADERS called only when headers are present 2024-01-06 09:14:42 +01:00
Mateusz Pusz 047b8a140a build: add_mp_units_module now use HEADER_SET 2024-01-06 08:51:01 +01:00
Mateusz Pusz e23be9aab5 fix: MP_UNITS_USE_LIBFMT was lost during refactoring 2024-01-06 08:51:01 +01:00
Mateusz Pusz 4960011ca5 fix: cxx_std_20 set for mp-units::core 2024-01-06 08:51:01 +01:00
Mateusz Pusz 44c557ff4b refactor: add_units_module renamed to add_mp_units_module and target_name parameter added 2024-01-06 08:51:01 +01:00
Mateusz Pusz a7cb512f87 fix: modules build fixed 2024-01-06 08:51:01 +01:00
Mateusz Pusz fb8552b1d9 refactor: core-fmt and core-ostream modules merged with core 2024-01-06 08:51:01 +01:00
Mateusz Pusz 0eaf6e2e56 refactor: modules support redesigned 2024-01-06 08:51:01 +01:00
Mateusz Pusz ea8450df9d build: _LIBCPP_NO_ABI_TAG define set for clang-17 modules build 2024-01-06 08:51:01 +01:00
Mateusz Pusz 50c8f0a20d build: projectPrefix applied to preprocessor define 2024-01-06 08:51:01 +01:00
Mateusz Pusz c0f264cae9 fix: mp-units-core-module now links with mp-units::utility 2024-01-06 08:51:01 +01:00
Mateusz Pusz 4069481331 refactor: math_core.h moved back to the utility directory 2024-01-06 08:51:01 +01:00
Johel Ernesto Guerrero PeñaandMateusz Pusz b5a7b815ba style: fix grammar of comment
Co-authored-by: Mateusz Pusz <mateusz.pusz@gmail.com>
2024-01-06 08:51:00 +01:00
Johel Ernesto Guerrero Peña 7aa0690246 refactor: move compare.h and random.h to mp_units.core 2024-01-06 08:51:00 +01:00
Johel Ernesto Guerrero Peña 7cb2099af5 feat: add module mp_units 2024-01-06 08:51:00 +01:00
Mateusz Pusz 5382fdbc5c fix: ice_point is now defined with the integral offset from absolute_zero
Fixes #539
2024-01-05 11:56:55 +01:00
Mateusz Pusz 09d923d619 refactor: MSVC workarounds for named prefixed units definitions 2024-01-05 11:17:03 +01:00
Mateusz Pusz 265cabb0e5 docs: grammar documenation updated 2023-12-27 11:27:18 +01:00
Mateusz Pusz 6324f6dc2a Merge pull request #522 from mpusz/implicit_point_origin
feat: implementation of implicit point origins
2023-12-26 11:09:43 +01:00
Mateusz Pusz 1db975d48c refactor: quantity_cast implementation now use make_reference() 2023-12-26 10:33:04 +01:00
Mateusz Pusz 78872e1a14 fix: QuantitySpec[Unit] replaced with make_reference in value_cast 2023-12-26 10:31:38 +01:00
Mateusz Pusz 7f0e7f8ca8 refactor: 💥 SI-related trigonometric functions moved to the si subnamespace 2023-12-26 09:31:11 +01:00
Mateusz Pusz c9d1f83ca4 refactor: math.h header file broke up to smaller pieces 2023-12-26 09:30:23 +01:00
Mateusz Pusz be1705bc4a refactor: zeroth_point_origin() renamed to default_point_origin() and implicit_zeroth_point_origin renamed to zeroth_point_origin 2023-12-22 17:29:02 +01:00
Mateusz Pusz f2abaa28bc feat: quantity_from_zero() enabled for absolute point origins 2023-12-22 16:41:14 +01:00
Mateusz Pusz a962182e13 feat: implicit point origins compatibility between different quantity specs added 2023-12-22 16:35:06 +01:00
Mateusz Pusz 31a5c76672 feat: interconvertible(QuantitySpec, QuantitySpec) added 2023-12-22 15:51:03 +01:00
Mateusz Pusz cccf1e24b0 refactor: point origin can't be set for a unit that does not have an associated quantity kind 2023-12-21 12:25:09 +01:00
Mateusz Pusz fe099b5ad1 feat: propagation of point origins for scaled units added 2023-12-21 12:25:09 +01:00
Mateusz Pusz 5f840d7079 fix: point origins comparison fixed 2023-12-21 12:25:09 +01:00
Mateusz Pusz 10a2e6dc0d feat: 💥 initial implementation of implicit point origins 2023-12-21 12:25:09 +01:00
Mateusz Pusz 7c83f586db refactor: value_casts cleanup 2023-12-20 09:24:35 +01:00
Mateusz Pusz 436463b7a7 feat: value_cast<Unit, Representation> added 2023-12-19 18:19:22 +01:00
Mateusz Pusz 0db047803e refactor: 💥 zeroth_Fahrenheit renamed to zeroth_degree_Fahrenheit 2023-12-19 08:16:58 +01:00
Mateusz Pusz ce6db6950f feat: quantity_point support added for quantity_cast and value_cast 2023-12-18 16:40:05 +01:00
Mateusz Pusz bd9e4f944c fix: QuantityLike conversions required Q::rep instead of using one provided by quantity_like_traits 2023-12-18 15:40:25 +01:00
Mateusz Pusz 8fcc7e3a49 refactor: zero_Fahrenheit renamed to zeroth_Fahrenheit 2023-12-17 18:32:01 +01:00
Mateusz Pusz 05fd4a3ef7 refactor: math functions constraints refactored 2023-12-16 20:24:21 +01:00
Nick Thompson 7a270a6fd9 Floating point classification functions
Add the ability for `isnan`, `isfinite`, and `isinf` to work on dimensioned quantities.
2023-12-16 08:08:44 -08:00
Nick dd84873ac9 Merge branch 'master' into add_fma 2023-12-15 13:01:38 -08:00
Nick f32aafe0df Merge branch 'mpusz:master' into add_fma 2023-12-11 18:01:52 -08:00
Nick Thompson 51f8b47071 Add fma to math.h 2023-12-09 13:26:38 -08:00
Mateusz Pusz 217048857a build: project version updated to 2.2.0 2023-12-09 19:03:45 +01:00
Mateusz Pusz 13b450e8cf fix: quantity_point::point_for(PO) constraints fixed 2023-12-03 19:24:29 +01:00
Mateusz Pusz 40c2ecb2aa feat: equivalent point origins handling improved 2023-12-03 18:57:34 +01:00