Mateusz Pusz
38fb9911a9
refactor: 💥 ! " ⋅ " replaced with "⋅" in derived unit symbols
2022-05-24 12:56:14 +02:00
Mateusz Pusz
5300caf17b
refactor: 💥 ! derived_deduced_unit renamed to derived_scaled_unit
...
Naming is hard ;-)
2022-05-11 12:34:52 +02:00
Mateusz Pusz
f5d21a0711
refactor: 💥 ! derived_unit renamed to derived_deduced_unit
2022-05-11 11:23:18 +02:00
Mateusz Pusz
144f6951c0
style: all files refromatted with clang-format
2022-03-17 23:59:48 +01:00
Mateusz Pusz
e19b9e93e9
test: forgot to change the other preprocessor check as well
2021-11-15 17:41:02 +01:00
Mateusz Pusz
d6bb6c8bc9
test: fmt test compilation on VS2019 fixed
2021-11-15 17:12:44 +01:00
Mateusz Pusz
6f38e77426
test: [fmt] unit test fixed for std::format in VS2022
2021-11-15 16:36:09 +01:00
Mateusz Pusz
506408a316
fix: fmt_test compilation fixed
2021-11-08 19:05:08 +01:00
Mateusz Pusz
9f95799288
refactor: got rid of FMT_RUNTIME() as it is not the part of C++20
2021-11-08 18:37:37 +01:00
Mateusz Pusz
b1bd4cab2d
feat: std::format support for compliant compilers added
2021-09-20 15:01:58 +02:00
Mateusz Pusz
8740857a47
build: fmt updated to 8.0.1
2021-09-16 20:24:27 +02:00
Mateusz Pusz
8e88f06380
refactor: *deduced_unit renamed to *derived_unit
2021-05-10 15:56:48 +02:00
Mateusz Pusz
37cfc53d1d
refactor: IWYU applied to the source files
...
`alternative_namespaces` examples left out as I consider them a subject for removal in the nearest future.
2021-03-30 13:21:05 +02:00
Mateusz Pusz
bbbb77286c
refactor: physical replaced with isq
...
Refers to #249
2021-03-16 12:03:25 +01:00
Mateusz Pusz
5c94a40906
build: COMP_XXX renamed to UNITS_COMP_XXX
2021-03-15 21:13:21 +01:00
Mateusz Pusz
cff718301c
refactor: quantity_io added
2020-12-28 15:18:36 +01:00
Mateusz Pusz
d4d23847d8
refactor: DOWNCAST_MODE renamed to UNITS_DOWNCAST_MODE
2020-09-13 18:45:46 +02:00
Mateusz Pusz
2a56438f1c
refactor: file tree with systems defninitions refactored to limit ODR issues
...
Relates to #32 as with this commit we created something like modules for derived quantities
2020-09-11 18:11:25 +02:00
rbrugo
1061d2ac56
Fixed indentation
2020-09-10 23:09:12 +02:00
rbrugo
b0428d623a
Added tests for localization
2020-09-10 23:09:12 +02:00
Mateusz Pusz
79558a6d72
refactor: systems defined in terms of SI moved under si namespace
2020-09-10 17:14:33 +02:00
Mateusz Pusz
9cd0cb4105
feat: two argument explicit cast support added
2020-09-10 13:01:38 +02:00
Mateusz Pusz
58daacfd58
fix: unit tests fixed for DOWNCAST_MODE = OFF
2020-09-10 11:33:58 +02:00
Mateusz Pusz
9527b39005
refactor: 💥 q_* UDL renamed to _q_*
...
We had some fun exploring the STD UDLs for potential collisions,
we have learnt our lesson and know how to proceed.
Now is high time to start behaving and obeying C++ rules.
2020-09-09 19:20:35 +02:00
Mateusz Pusz
3e9d5ca189
refactor: ♻️ unitless renamed to one
...
Resolves #27
2020-09-09 11:20:55 +02:00
Mateusz Pusz
563b358d5e
feat!: 💥 dimensionless quantities refactored
...
Dimensionless quantities are now represented by quantity types rather
than by plain representation types. Only dimensionless quantities with
`unitless` unit are implicitly convertible from representation types.
`units::exp()` now is a function doing std::exp() on a representation
type (previous `units::exp` class template was renamed to
`units::exponent`).
BREAKING_CHANGE: gcc-9.3 support removed
BREAKING_CHANGE: `exp` and `Exp` renamed to `exponent` and `Exponent`
Resolves #27
Resolves #42
2020-09-08 11:02:16 +02:00
Mateusz Pusz
9cd8bd20a5
fmt tests fixed for MSVC
2020-09-05 22:54:57 +02:00
Mateusz Pusz
d171f5451e
NTTP ratio support added ( resolves #49 )
2020-06-27 19:15:46 +02:00
Mateusz Pusz
fea072aeb5
warnings.cmake refactored
2020-05-29 10:07:01 +02:00
Mateusz Pusz
ce301748dd
Velocity renamed to Speed ( resolves #103 )
2020-05-10 17:31:47 +02:00
Mateusz Pusz
7e935a4108
Physical units put in the physical namespace (I am sorry)
2020-05-08 22:39:24 +02:00
Mateusz Pusz
1830735544
Unit tests for alias_unit added
2020-05-08 21:18:16 +02:00
Ramzi Sabra
17ce8d3dc8
replaced back unit test with one using exponent
2020-05-08 10:41:38 +02:00
Ramzi Sabra
6f8bddc832
added more prefixed SI units; added alias_unit and prefixed_alias_unit types
2020-05-08 10:41:38 +02:00
Mateusz Pusz
ffd3af42d2
Standard vs Unicode formatting unit tests refactored
2020-05-05 21:26:30 +02:00
Ramzi Sabra
36bee5a8c3
fixed dot product symbol
2020-03-27 10:03:59 +01:00
Ramzi Sabra
dd6db61ea9
added ASCII symbol for micro SI unit prefix
2020-03-27 10:03:59 +01:00
Ramzi Sabra
e9272ac108
added ASCII-only format output support
2020-03-27 10:03:59 +01:00
rbrugo
a3b9ef8eaa
Deleted a commented out test case
2020-03-20 16:15:53 +01:00
rbrugo
5250afac57
Removed no longer valid tests
2020-03-20 16:15:53 +01:00
rbrugo
1cbab1c7b9
Unit tests now conform to the new grammar
2020-03-20 16:15:53 +01:00
Mateusz Pusz
c33f6f2d59
ostream width, align and fill added
2020-03-19 09:23:27 +01:00
rbrugo
aee44d98be
Added tests for format types
2020-03-18 12:16:02 +01:00
Mateusz Pusz
6a5f25750d
UDL naming refactored
2020-03-10 20:53:53 +01:00
Oliver Schönrock
1280b7d4be
fix fmt test typos for accidental find/replace mistakes during 1m => 1q_m
...
changes
2020-02-20 19:57:20 +01:00
Mateusz Pusz
18620044c5
All UDLs are now prefixed with q_
2020-02-17 15:56:06 +01:00
Mateusz Pusz
159e2c1c02
ratio_text improved to omit den == 1 for exp != 0
2019-12-29 17:19:55 +01:00
Mateusz Pusz
e7f37e4e33
CGS fmt tests added
2019-12-29 17:06:03 +01:00
Mateusz Pusz
17e6b0d75d
Small refactoring of new ratio ( resolves #14 )
2019-12-28 18:59:53 +01:00
Oliver Schönrock
0ad78fe753
small changes based on code review
2019-12-28 17:59:47 +01:00