Mateusz Pusz
|
2e1a017376
|
refactor: quantity::_value data member renamed to numerical_value_
|
2023-09-13 16:21:57 +02:00 |
|
Mateusz Pusz
|
0e974a7f32
|
fix: hacks for clang-16 compilation added
|
2023-09-13 12:21:17 +02:00 |
|
Mateusz Pusz
|
e085beef40
|
feat: qp.quantity_from(PO) added
|
2023-09-13 11:57:22 +02:00 |
|
Mateusz Pusz
|
75fc3a0384
|
style: more whitespace issues caused by rebase fixed
|
2023-09-13 11:56:06 +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
|
bf954cfcaf
|
docs: q.force_in(U) documentation added
|
2023-09-13 10:44:50 +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
|
f7f63e8c4c
|
refactor: force_numerical_value_in refactored to use force_in in the implemenation and constraints
|
2023-09-13 10:41:15 +02:00 |
|
Mateusz Pusz
|
1c7928021d
|
feat: force_in(U) support added
|
2023-09-13 10:18:07 +02:00 |
|
Mateusz Pusz
|
2b2f62d038
|
feat: force_numerical_value_in(U) added
|
2023-09-13 10:10:10 +02:00 |
|
Mateusz Pusz
|
40c809091d
|
fix: numerical_value_ref_in name fixed for this deduction in quantity
|
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
|
c30285ff96
|
fix: forgot to add compare_test.cpp to CMake
|
2023-09-13 09:14:45 +02:00 |
|
Mateusz Pusz
|
b7bab8c7e6
|
refactor: isq::speed_of_light renamed to isq::speed_of_light_in_vacuum
|
2023-09-13 09:14:20 +02:00 |
|
Mateusz Pusz
|
e36fe151ea
|
refactor(example): storage_tank refactored
|
2023-09-13 09:01:03 +02:00 |
|
Mateusz Pusz
|
89eba3cd66
|
docs: additional code example added to the "Value-preserving conversions" chapter
|
2023-09-13 09:00:21 +02:00 |
|
Mateusz Pusz
|
11a539cabc
|
docs: units composition FAQ cleanup
|
2023-09-13 08:59:29 +02:00 |
|
Mateusz Pusz
|
76a9e0ff6e
|
refactor(example): hello_units refactored to not use auto
|
2023-09-13 08:58:38 +02:00 |
|
Mateusz Pusz
|
9d64b75afe
|
docs: basic examples refactored to not use auto
|
2023-09-13 08:58:17 +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
|
c4ad3039b3
|
refactor: asserts for zero simplified in quantity
|
2023-09-13 08:52:01 +02:00 |
|
Mateusz Pusz
|
507d5bc446
|
fix(unit test): vector<T> now properly propagates treat_as_floating_point
|
2023-09-10 14:17:59 +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
|
b6bc9434d0
|
fix: quantity.in(U) fixed to clone a reference from the source type
|
2023-09-04 12:27:49 +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
|
b84c74b330
|
fix: fmt.h did not have header guards for ODR
|
2023-09-04 11:11:55 +02:00 |
|
Mateusz Pusz
|
f46b3dad74
|
feat: added an option to disable space before unit symbol in the text output
Resolves #387
|
2023-09-04 11:09:40 +02:00 |
|
Mateusz Pusz
|
75482733d1
|
docs: SI Brochure quote added with the rationale for the multiplication syntax usage to create quantities
|
2023-09-04 10:53:47 +02:00 |
|
Mateusz Pusz
|
bbc2255a6e
|
style: whitespace removed
|
2023-08-31 19:43:18 +02:00 |
|
Mateusz Pusz
|
b236c23c8c
|
docs: "Dimensionless Quantities" chapter moved up in the TOC
|
2023-08-31 19:02:42 +02:00 |
|
Mateusz Pusz
|
2c9502a2a9
|
test: units tests for point origin arithmetics added
|
2023-08-31 19:02:04 +02:00 |
|
Mateusz Pusz
|
2bfc282483
|
test: missing units tests for quantity::one() aded
|
2023-08-31 19:01:13 +02:00 |
|
Mateusz Pusz
|
14d18a9d3a
|
style: order of operators changed
|
2023-08-31 19:00:35 +02:00 |
|
Mateusz Pusz
|
f1716c4bc7
|
docs: Compiler Explorer link updated for si_constants example
|
2023-08-31 18:59:10 +02:00 |
|
Mateusz Pusz
|
bf1af91a51
|
docs: important admonition added for floating-points being value-preserving
|
2023-08-31 18:57:39 +02:00 |
|
Mateusz Pusz
|
0d8c398ff4
|
docs: quantity_point.h mentioned in the docs
|
2023-08-31 18:56:43 +02:00 |
|
Mateusz Pusz
|
617e60d60e
|
docs: "Quantity Arithmetics" chapter added
Resolves #448
|
2023-08-31 18:56:15 +02:00 |
|
Mateusz Pusz
|
99bec8ecbb
|
docs: math expressions usage improved in the "Glossary" chapter
|
2023-08-30 18:56:20 +02:00 |
|
Mateusz Pusz
|
596fd5d4ea
|
docs: "numerical value" definition added to the "Glossary" chapter
|
2023-08-30 18:42:07 +02:00 |
|
Mateusz Pusz
|
5ee4c5346a
|
test: test_tools.h file cleanup
|
2023-08-30 18:22:30 +02:00 |
|
Mateusz Pusz
|
c6a8c672e9
|
docs: Compiler Explorer URL added to the si_constants example
|
2023-08-30 17:48:19 +02:00 |
|
Mateusz Pusz
|
2a5066aa9a
|
docs: avg_speed and si_constants examples added to docs
|
2023-08-30 17:42:23 +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
|
fa38e4f497
|
docs: admonition types usage fine tuned
|
2023-08-30 11:33:30 +02:00 |
|