Commit Graph

2473 Commits

Author SHA1 Message Date
31f7a43cc6 feat: Initial Vector and Tensor representation concepts implementation 2023-09-22 19:29:29 +02:00
dde5bcab7e Merge branch 'master' of github.com:mpusz/units 2023-06-19 14:02:39 +02:00
d9697afd67 feat: non-SI units got their own namespace non_si 2023-06-19 14:02:31 +02:00
7fc88facd6 feat: arcminute and arcsecond support added 2023-06-19 14:01:36 +02:00
3d20dfef91 refactor: unit_symbol_separator::dot renamed to half_high_dot 2023-06-18 10:28:51 +02:00
faa4c203aa fix: treat_as_floating_point and Scalable fixed for the case where the type has both value_type and element_type 2023-06-17 06:44:20 +03:00
6db8012513 fix(example): name hiding in capacitor_time_curve resolved 2023-06-16 17:19:21 +03:00
66f0442eca fix(example): constraints from creates_quantity concepts removed 2023-06-16 17:17:30 +03:00
5c1b1e0ff4 test: QUANTITY_SPEC_ macro fixed 2023-06-16 17:00:41 +03:00
ad7f897600 fix: constexpr evaluation maximum step limit fixed for clang for proton_mass 2023-06-16 16:24:53 +03:00
7774466c1c fix: clang-17 specific compilation fixes (partially contributed by @JohelEGP) 2023-06-16 14:54:22 +03:00
5dcf87ac28 docs: link to the code example updated in README 2023-06-16 13:55:27 +03:00
5ca1856408 fix(example): value_cast prefixed with a namespace in conversion_factor example 2023-06-16 13:54:45 +03:00
8c54bbdc9a refactor(example): hello_units example changed to better reflect the code in README 2023-06-16 10:26:34 +03:00
a99bac83a1 docs: README updated 2023-06-16 10:16:05 +03:00
669007bc66 build: repo URL fixed in conanfile 2023-06-16 09:39:49 +03:00
698b6ce338 refactor: sudo_cast if constexpr condition refactored 2023-06-15 17:39:33 +03:00
fa8fc078df fix: forgot to add hacks header to ratio 2023-06-15 17:38:59 +03:00
34765a2ab1 refactor: a few ratio functions made constexpr for clang 2023-06-15 17:31:08 +03:00
d380aa3800 refactor: clang has issues with CTAD for aggregates 2023-06-15 17:28:35 +03:00
6d488071fc refactor: clang still does not support C++17 feature related to template tempaltes with default compilation flags 2023-06-15 17:27:28 +03:00
dcad3b6a56 refactor: alternative mag_pi implementation provided as a workaround for clang 2023-06-15 17:26:16 +03:00
5635f7d199 fix: QUANTITY_SPEC macro fixed 2023-06-15 17:01:52 +03:00
c8c7baef05 refactor: unused header file removed 2023-06-15 16:43:31 +03:00
52ab3f1535 refactor: SI units do not depend on the entire ISQ anymore + header dependency compilation fixes 2023-06-15 14:37:22 +03:00
1a39f549ed docs: CHANGELOG updated 2023-06-15 11:47:22 +03:00
7a9800a8fa build: fmt updated to 10.0.0 2023-06-15 11:26:37 +03:00
eea3cbe52d style: whitespaces cleanup to make pre-commit happy 2023-06-14 22:35:21 +03:00
7d37e656cb chore: merge issues fixed 2023-06-14 21:15:27 +03:00
e2bd12750b Merge commit 'ec04d9c03ddf12e46dca5348d4ca57b526e425f1' 2023-06-14 21:13:07 +03:00
354447bb73 docs: 0.8.0 release date set in CHANGELOG 2023-06-14 20:46:06 +03:00
ec04d9c03d test: math static tests updated for V2 2023-06-14 15:58:43 +03:00
3585e2a33c refactor: all math functions refectored 2023-06-14 15:57:59 +03:00
3f88da4ebf feat: clone_reference_with added 2023-06-14 15:57:32 +03:00
6d10572922 refactor: concept cleanup 2023-06-14 09:14:43 +03:00
db35f05d68 test: more conversion tests added for dimensionless quantity specs 2023-06-13 17:42:08 +03:00
78a419524f test: isq::power test uncommented 2023-06-13 17:41:22 +03:00
f267ab27a0 refactor: pow now uses quantity::one instead of rep(1) 2023-06-13 17:39:09 +03:00
034d44eb3f test: more concept tests added for dimensionless quantities 2023-06-13 17:35:43 +03:00
74ad0f6f68 fix: more constraints added to ReferenceOf to provide support for corner cases of dimensionless quantity tree 2023-06-13 17:34:37 +03:00
8ed82dfe96 refactor: DerivedFromQuantityKindSpecOf introduced to remove code duplications 2023-06-13 17:32:52 +03:00
9ab8136c98 refactor: has_unit_symbol() added 2023-06-13 14:52:14 +03:00
16ad71a31a test: more tests for pow added for units and quantity specs 2023-06-13 09:21:07 +03:00
ee2abaf9f7 test: pow and sqrt checks added for fractional exponent quantity 2023-06-13 09:18:19 +03:00
c79a76ab8f fix: pow, sqrt, and cbrt fixed for quantities 2023-06-13 09:17:32 +03:00
4330cabd59 feat: pow, sqrt, and cbrt support added for reference 2023-06-13 09:14:53 +03:00
de4fefde3f fix: pow() fixed for quantity specs and units 2023-06-13 09:14:01 +03:00
211bd61895 refactor: sudo_cast improved to benefit from treat_as_floating_point 2023-06-13 09:12:04 +03:00
8a124ffbf0 test: custom_rep_test_min_impl updated for V2 2023-06-12 12:12:38 +03:00
46f1a00f4b Revert "test: custom_rep_test_min_expl updated for V2"
This reverts commit 2b2f381ad5.
2023-06-12 12:10:46 +03:00