Mateusz Pusz
|
00a2bce0e8
|
fix(example): latitude and longitude fixed to include 0 for N and E respectively
|
2023-10-03 11:00:33 -06:00 |
|
Mateusz Pusz
|
2e26eed59d
|
feat: numerical_value_ref_in disallowed for rvalues
|
2023-09-13 19:59:49 +02:00 |
|
Mateusz Pusz
|
e085beef40
|
feat: qp.quantity_from(PO) added
|
2023-09-13 11:57:22 +02:00 |
|
Mateusz Pusz
|
6c576d7120
|
style: another whitespace removed from the currency example
|
2023-09-13 11:27:56 +02:00 |
|
Mateusz Pusz
|
414f1d1007
|
style: additional whitespace removed from conversion_factor example
|
2023-09-13 11:26:55 +02:00 |
|
Mateusz Pusz
|
a6284aa293
|
refactor: some value_cast<U>(q) replaced with q.force_in(U)
|
2023-09-13 10:43:08 +02:00 |
|
Mateusz Pusz
|
2b2f62d038
|
feat: force_numerical_value_in(U) added
|
2023-09-13 10:10:10 +02:00 |
|
Mateusz Pusz
|
3b2ca4084a
|
refactor: quantity_point::quantity_from_origin() refactored to quantity_point::quantity_ref_from(PO)
Resolves #479 and relates to #477
|
2023-09-13 10:09:08 +02:00 |
|
Mateusz Pusz
|
a7711cb301
|
refactor: quantity::value() refactored to quantity::value_ref_in(U)
|
2023-09-13 09:23:59 +02:00 |
|
Mateusz Pusz
|
e36fe151ea
|
refactor(example): storage_tank refactored
|
2023-09-13 09:01:03 +02:00 |
|
Mateusz Pusz
|
76a9e0ff6e
|
refactor(example): hello_units refactored to not use auto
|
2023-09-13 08:58:38 +02:00 |
|
Mateusz Pusz
|
cbcc6f4627
|
feat: compare.h header added with checks against zero
Resolves #487
|
2023-09-13 08:55:06 +02:00 |
|
Mateusz Pusz
|
42527d2bfb
|
fix(example): measurement now properly propagates treat_as_floating_point
|
2023-09-10 14:17:34 +02:00 |
|
Mateusz Pusz
|
d7261c8f76
|
fix(example): treat_as_floating_point specified for validated_type and ranged_representation
|
2023-09-04 12:30:14 +02:00 |
|
Mateusz Pusz
|
f0e1e202db
|
fix: latitude and longitude are now quantity points and have proper formatting
|
2023-09-04 11:20:00 +02:00 |
|
Mateusz Pusz
|
81698f02e5
|
feat(example): validated_type now properly registers as a scalar type
|
2023-09-04 11:16:25 +02:00 |
|
Mateusz Pusz
|
b3fb025053
|
feat(example): text output added to validated_type and ranged_representation
|
2023-09-04 11:15:33 +02:00 |
|
Mateusz Pusz
|
0db297ac18
|
feat(example): the last remaining constant added to si_constants example
|
2023-08-30 17:39:22 +02:00 |
|
Mateusz Pusz
|
91a93b37db
|
refactor(example): headers includes simplified in the avg_speed example
|
2023-08-30 17:38:36 +02:00 |
|
Mateusz Pusz
|
f1c2c74ab0
|
refactor: quantity::value() renamed to quantity::numerical_value()
According to https://jcgm.bipm.org/vim/en/1.19.html "quantity value" also contains a unit. According to https://jcgm.bipm.org/vim/en/1.20.html "numerical value" is the correct term for just a number.
Resolves #423
|
2023-08-30 11:30:35 +02:00 |
|
Mateusz Pusz
|
f29c57d367
|
style: formatting to make pre-commit happy
|
2023-08-25 23:05:36 +02:00 |
|
Mateusz Pusz
|
05a307564a
|
refactor(example): gcc-11 ICE on the previous code
|
2023-08-25 22:16:40 +02:00 |
|
Mateusz Pusz
|
c625be5ebe
|
fix(example): transform_inclusive_scan initial value had to be explicitly provided
|
2023-08-25 19:49:33 +02:00 |
|
Mateusz Pusz
|
9f1a42bc7f
|
refactor: glide_computer renamed to glide_computer_lib
|
2023-08-24 19:19:55 +02:00 |
|
Mateusz Pusz
|
624b7c7404
|
fix: some fixes revealed during clang compilation
|
2023-08-24 19:14:23 +02:00 |
|
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
|
e49e6c40ae
|
feat: absolute() member function removed from quantity_point
|
2023-08-23 14:52:09 +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
|
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 |
|
Bourumir Wyngs
|
e3346dd8bf
|
Fix "control reaches end of non void function" error.
|
2023-08-06 11:47:32 +02:00 |
|
Mateusz Pusz
|
1e81069d53
|
feat: absolute_point_origin convertibility removed
|
2023-08-01 11:53:50 +02:00 |
|
Mateusz Pusz
|
60a564a867
|
refactor(example): simpler header files used
|
2023-07-11 19:48:22 +02:00 |
|
Mateusz Pusz
|
8765a9c1e3
|
refactor(example): StorageTank example now properly uses horizontal_area quantity
|
2023-07-10 16:54:25 +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
|
3a94ca89fd
|
feat(example): spectroscopy_units example added
|
2023-07-08 12:59:38 +02:00 |
|
Mateusz Pusz
|
52ce2b21f7
|
refactor: iostream.h renamed to ostream.h
|
2023-06-23 15:03:04 +02:00 |
|
Mateusz Pusz
|
46a4999d3b
|
docs: hello_units example documentation added
|
2023-06-22 18:22:41 +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
|
d9d9d9d3b7
|
feat(example): storage_tank example extended with custom quantity types
|
2023-06-21 11:29:22 +02:00 |
|
Mateusz Pusz
|
6db8012513
|
fix(example): name hiding in capacitor_time_curve resolved
|
2023-06-16 17:19:21 +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
|
5ca1856408
|
fix(example): value_cast prefixed with a namespace in conversion_factor example
|
2023-06-16 13:54:45 +03:00 |
|
Mateusz Pusz
|
8c54bbdc9a
|
refactor(example): hello_units example changed to better reflect the code in README
|
2023-06-16 10:26:34 +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
|
2dc420c505
|
fix: new quantity creation policy for irrational magnitudes forbids creation of longitude and latitude with an integral representation
|
2023-06-08 22:19:34 +02:00 |
|
Mateusz Pusz
|
192bf39654
|
refactor: natural::speed_of_light_in_vacuum renamed to natural::speed_of_light
|
2023-06-05 19:37:17 +02:00 |
|
Mateusz Pusz
|
6627b0a491
|
refactor: glide_computer and storage_tank examples renamed
|
2023-06-02 13:52:00 +02:00 |
|
Mateusz Pusz
|
b4953bb0b5
|
chore: v2_framework example removed
|
2023-06-02 13:51:14 +02:00 |
|