Commit Graph
451 Commits
Author SHA1 Message Date
Mateusz Pusz a9204e2473 refactor: number() and number_in() renamed to value() and value_in()
Resolves #423
2023-08-23 17:15:32 +02:00
Mateusz Pusz ae92b49775 refactor: op[U] for quantity and quantity_point replaced with .in(U)
Resolves #469
2023-08-23 16:46:15 +02:00
Mateusz Pusz 5af82e3162 refactor: point_from renamed to point_for 2023-08-23 15:42:55 +02:00
Mateusz Pusz fb9f288c56 feat: quantity_point construction from quantity made private + make_quantity_point added 2023-08-23 12:49:14 +02:00
Mateusz Pusz ed279c43ab feat: quantity_point CTAD from Quantity removed 2023-08-23 11:53:49 +02:00
Mateusz Pusz 7594048850 fix: relative_point_origin::quantity_spec setting fixed 2023-08-23 11:42:43 +02:00
Mateusz Pusz 71981172c3 feat: quantity_point does not take a default origin anymore + common_qs logic removed from the binary operators 2023-08-23 10:41:37 +02:00
Mateusz Pusz 07ce64d6e7 refactor: relative() renamed to quantity_from_origin()
Resolves #479
2023-08-18 18:49:04 +02:00
Mateusz Pusz 752408449f feat: PointOrigin arithmetics support added 2023-08-18 18:35:41 +02:00
Mateusz Pusz 110986ee1f feat: quantity_cast<kind_of_qs>(associated_unit) now returns the bare unit as a reference 2023-08-18 11:11:29 +02:00
Mateusz Pusz ef39b8c4c7 feat: kind_of_qs[unit] now returns a bare unit as a reference 2023-08-18 11:01:40 +02:00
Mateusz Pusz a3cf3f4087 feat: DimensionOf and QuantitySpecOf added and reused in ReferenceOf concept 2023-08-18 10:58:25 +02:00
Mateusz Pusz 1d822d0ea4 test: relative_point_origin construction simplified 2023-08-15 11:21:07 +02:00
Mateusz Pusz 542668e801 test: more chrono tests added 2023-08-15 11:18:15 +02:00
Mateusz Pusz 794ac2fa67 test: more binary operators tests added for quantity_point 2023-08-03 11:36:07 +02:00
Mateusz Pusz 3628e99aaa feat: CTAD for quantity_point can now deduce point_origin 2023-08-03 11:31:58 +02:00
Mateusz Pusz ccdf5d319a feat: point_from extended with the case of the same origin 2023-08-02 11:20:32 +02:00
Mateusz Pusz 730f4da136 test: various origins tests added for quantity_point 2023-08-01 22:07:24 +02:00
Mateusz Pusz b19bf0761c feat: relative_point_origin support added
Relates to #414
2023-08-01 17:24:01 +02:00
Mateusz Pusz ea6325a5eb refactor: some parameterized quantity specs renamed
Relates to #475
2023-08-01 12:38:29 +02:00
Mateusz Pusz 7ce8173b40 test: initial version of quantity_point_test added 2023-08-01 12:04:31 +02:00
Mateusz Pusz 571bf47b95 test: quantity_test cleanup 2023-08-01 12:01:12 +02:00
Mateusz Pusz a6e4851efe test: more binary operators tests added for quantity 2023-08-01 12:00:35 +02:00
Mateusz Pusz 1e81069d53 feat: absolute_point_origin convertibility removed 2023-08-01 11:53:50 +02:00
Mateusz Pusz 5d73cd0730 feat: dimensionless quantities with a unit one are not special anymore 2023-07-10 16:53:49 +02:00
Mateusz Pusz ba1f58af76 refactor: All the macros refactored to have MP_UNITS_ prefix 2023-06-21 18:05:21 +02:00
Mateusz Pusz 3725db4243 style: whitespaces and formatting fixed to make pre-commit happy 2023-06-21 11:28:24 +02:00
Mateusz Pusz dde5bcab7e Merge branch 'master' of github.com:mpusz/units 2023-06-19 14:02:39 +02:00
Mateusz Pusz 7fc88facd6 feat: arcminute and arcsecond support added 2023-06-19 14:01:36 +02:00
Mateusz Pusz 3d20dfef91 refactor: unit_symbol_separator::dot renamed to half_high_dot 2023-06-18 10:28:51 +02:00
Mateusz Pusz 66f0442eca fix(example): constraints from creates_quantity concepts removed 2023-06-16 17:17:30 +03:00
Mateusz Pusz 5c1b1e0ff4 test: QUANTITY_SPEC_ macro fixed 2023-06-16 17:00:41 +03:00
Mateusz Pusz 7774466c1c fix: clang-17 specific compilation fixes (partially contributed by @JohelEGP) 2023-06-16 14:54:22 +03:00
Mateusz Pusz c8c7baef05 refactor: unused header file removed 2023-06-15 16:43:31 +03:00
Mateusz Pusz 52ab3f1535 refactor: SI units do not depend on the entire ISQ anymore + header dependency compilation fixes 2023-06-15 14:37:22 +03:00
Mateusz Pusz ec04d9c03d test: math static tests updated for V2 2023-06-14 15:58:43 +03:00
Mateusz Pusz db35f05d68 test: more conversion tests added for dimensionless quantity specs 2023-06-13 17:42:08 +03:00
Mateusz Pusz 78a419524f test: isq::power test uncommented 2023-06-13 17:41:22 +03:00
Mateusz Pusz 034d44eb3f test: more concept tests added for dimensionless quantities 2023-06-13 17:35:43 +03:00
Mateusz Pusz 16ad71a31a test: more tests for pow added for units and quantity specs 2023-06-13 09:21:07 +03:00
Mateusz Pusz ee2abaf9f7 test: pow and sqrt checks added for fractional exponent quantity 2023-06-13 09:18:19 +03:00
Mateusz Pusz 8a124ffbf0 test: custom_rep_test_min_impl updated for V2 2023-06-12 12:12:38 +03:00
Mateusz Pusz 46f1a00f4b Revert "test: custom_rep_test_min_expl updated for V2"
This reverts commit 2b2f381ad5.
2023-06-12 12:10:46 +03:00
Mateusz Pusz 2b2f381ad5 test: custom_rep_test_min_expl updated for V2 2023-06-12 11:51:18 +03:00
Mateusz Pusz 4d2ae79a05 test: some more test suites removed 2023-06-11 20:13:35 +03:00
Mateusz Pusz 3887b642fb test: SI tests updated for V2 2023-06-09 09:31:14 +02:00
Mateusz Pusz c46ecbd7db test: no longer needed test suites removed 2023-06-08 22:08:19 +02:00
Mateusz Pusz 4c98c55cca test: angstrom test added to IAU 2023-06-08 21:53:14 +02:00
Mateusz Pusz 7c2072f01f test: typographic system tests added 2023-06-08 21:49:58 +02:00
Mateusz Pusz 4e756f52d9 test: natural system tests added 2023-06-08 21:29:16 +02:00