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
|
24803a96cc
|
feat: math trigonometric functions can now be called with integral quantities
Relates to #485
|
2023-08-29 16:05:48 +02:00 |
|
Mateusz Pusz
|
f29c57d367
|
style: formatting to make pre-commit happy
|
2023-08-25 23:05:36 +02:00 |
|
Mateusz Pusz
|
3cc653fae1
|
build: fmt updated to 10.1.0 to enable gcc-13 compilation
|
2023-08-23 20:01: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
|
5d73cd0730
|
feat: dimensionless quantities with a unit one are not special anymore
|
2023-07-10 16:53:49 +02:00 |
|
Mateusz Pusz
|
7b47b2fe57
|
fix: text output of 8-bit integers fixed (resolves #470)
|
2023-07-05 11:24:53 +02:00 |
|
Mateusz Pusz
|
52ce2b21f7
|
refactor: iostream.h renamed to ostream.h
|
2023-06-23 15:03:04 +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
|
3d20dfef91
|
refactor: unit_symbol_separator::dot renamed to half_high_dot
|
2023-06-18 10:28:51 +02:00 |
|
Mateusz Pusz
|
c8c865ec39
|
refactor(unit test): it seems that explicit operator* for LA usage is no longer needed
|
2023-06-12 12:01:34 +03:00 |
|
Mateusz Pusz
|
7b22155bf3
|
feat: linear algebra library usage re-enabled
|
2023-06-12 11:47:30 +03:00 |
|
Mateusz Pusz
|
4788aa64be
|
build: linear_algebra test disables as the latest version of the LA lib is broken
|
2023-05-26 15:56:06 +02:00 |
|
Mateusz Pusz
|
52bbd00ab4
|
style: clang-format new rules applied to the code base
|
2023-05-26 14:20:00 +02:00 |
|
Mateusz Pusz
|
561fbf7c93
|
merge branch master
|
2023-05-26 13:53:52 +02:00 |
|
Mateusz Pusz
|
7d9ae3ec31
|
refactor: mp_units subdirectory renamed to mp-units
|
2023-05-25 12:47:10 +02:00 |
|
Mateusz Pusz
|
546a8a79a9
|
test: fmt test fixed for radian
|
2023-04-21 15:03:07 +01:00 |
|
Mateusz Pusz
|
8da791f8ba
|
refactor(unit test): math tests refactored to not use removed constructor
|
2023-04-03 18:07:10 +02:00 |
|
Mateusz Pusz
|
079e640614
|
test: linear algebra test refactored to benefit from the latest features
|
2023-02-14 12:29:45 +01:00 |
|
Mateusz Pusz
|
6d033d72fe
|
fix(unit test): quantity construction switched to a new syntax in unit tests
|
2023-02-13 19:05:58 +01:00 |
|
Mateusz Pusz
|
9436229ed2
|
refactor: the rest of the code refactored for new quantity construction way
|
2023-02-10 17:20:48 -08:00 |
|
Mateusz Pusz
|
83aee04da0
|
refactor: quantity_io.h renamed to iostream.h
|
2023-02-03 16:57:48 +01:00 |
|
Mateusz Pusz
|
b4f47c3fef
|
feat: value_cast support added
Resolves #239 and #120
|
2023-02-03 11:08:13 +01:00 |
|
Mateusz Pusz
|
9a7a55b873
|
test: test's text output fixed after unit ordering change
|
2023-01-05 10:39:23 +01:00 |
|
Mateusz Pusz
|
163295842e
|
test: initial version of linear_algebra_test added
|
2023-01-04 19:06:25 +01:00 |
|
Mateusz Pusz
|
2cf736a1e6
|
feat: preventing possible future units crash when using namespace std;
Resolves #317
|
2022-12-29 20:18:48 +01:00 |
|
Mateusz Pusz
|
6b72dd39c1
|
refactor: headers with system definitions moved to _systems_ subdirectory
|
2022-12-29 19:27:54 +01:00 |
|
Mateusz Pusz
|
97da55edfa
|
refactor: the rest of the systems refactored for V2
|
2022-12-29 18:59:10 +01:00 |
|
Mateusz Pusz
|
2a3e1f6035
|
refactor: angular system created
|
2022-12-25 17:32:29 +01:00 |
|
Mateusz Pusz
|
07687f9ef6
|
refactor: _generic/dimensionless.h_ removed (units added to _unit.h_)
|
2022-12-25 17:14:54 +01:00 |
|
Mateusz Pusz
|
82b1f7ffc0
|
refactor(example): RepresentationOf support added to examples
|
2022-12-20 17:26:55 +01:00 |
|
Mateusz Pusz
|
b7884b90a8
|
Revert "feat: ISQ quantity names conflicts resolved with inline namespaces"
This reverts commit 043410d2f8.
|
2022-12-20 12:46:07 +01:00 |
|
Mateusz Pusz
|
043410d2f8
|
feat: ISQ quantity names conflicts resolved with inline namespaces
|
2022-12-20 11:20:47 +01:00 |
|
Mateusz Pusz
|
a96c34c17a
|
fix: exp() implementation fixed
|
2022-12-19 12:49:15 +01:00 |
|
Mateusz Pusz
|
92c70f1a4e
|
feat: quantity_spec support added
|
2022-12-16 18:15:48 +01:00 |
|
Mateusz Pusz
|
91f26759d6
|
refactor: more unit tests refactored
|
2022-12-01 20:59:16 +01:00 |
|
Mateusz Pusz
|
7b6fc18e20
|
refactor: distribution_test refactored for V2
|
2022-11-09 22:54:22 -10:00 |
|
Mateusz Pusz
|
7423acd6a7
|
test: negative tests for formatting added
|
2022-11-08 11:19:12 -10:00 |
|
Mateusz Pusz
|
c32a4cea8a
|
test: fmt tests refactored for V2
|
2022-11-07 16:21:30 -10:00 |
|
Mateusz Pusz
|
4a49bdda05
|
refactor: V2 design update
|
2022-10-06 23:43:01 +01:00 |
|
Mateusz Pusz
|
d0eceefe80
|
refactor: dead ratio code removed
|
2022-09-06 23:49:16 +02:00 |
|
Mateusz Pusz
|
a39a49c147
|
test: VS2019 compilation fixed
|
2022-09-02 10:21:58 +02:00 |
|
Mateusz Pusz
|
396d39c35b
|
test: AlmostEqualsMatcher compilation fixed
|
2022-09-01 17:18:02 +02:00 |
|
Mateusz Pusz
|
a95cb53f73
|
test: unit tests for trigonometric functions added
|
2022-09-01 16:25:33 +02:00 |
|
Mateusz Pusz
|
707b39f0c4
|
build: catch2 updated to 3.1.0
|
2022-09-01 16:19:51 +02:00 |
|
Mateusz Pusz
|
c1d23b41c1
|
refactor: pi-based magnitude renamed to mag_pi
|
2022-09-01 10:47:36 +02:00 |
|
Chip Hogg
|
df290a74f0
|
Remove shadowing declaration of pi
|
2022-08-11 15:56:10 +00:00 |
|
Mateusz Pusz
|
a1e1b70b92
|
test: Unit tests for 3-argument hypot added
|
2022-08-03 13:35:18 +02:00 |
|
Mateusz Pusz
|
4c8b3ce290
|
test: Commented out ceil unit test enabled as it works correctly now
|
2022-08-03 13:12:24 +02:00 |
|