Mateusz Pusz
|
5c94a40906
|
build: COMP_XXX renamed to UNITS_COMP_XXX
|
2021-03-15 21:13:21 +01:00 |
|
Mateusz Pusz
|
625f452daa
|
build: libc++ support added
|
2021-03-15 21:11:26 +01:00 |
|
Mateusz Pusz
|
53f0b5a4e5
|
test: unused variable in Release disabled with [[maybe_unused]]
|
2021-03-15 18:48:18 +01:00 |
|
Johel Ernesto Guerrero Peña
|
94eb477f02
|
refactor: apply comments
|
2021-03-15 15:19:50 +01:00 |
|
Johel Ernesto Guerrero Peña
|
f228ddfd77
|
test: fix misc Clang warnings
|
2021-03-15 14:26:46 +01:00 |
|
Johel Ernesto Guerrero Peña
|
1fec222ad3
|
test: fix si_cgs_test.cpp
|
2021-03-15 14:26:21 +01:00 |
|
Johel Ernesto Guerrero Peña
|
3002c5673d
|
test: compile quantity_test.cpp with -DUNITS_DOWNCAST_MODE=0
|
2021-03-15 14:24:26 +01:00 |
|
Mateusz Pusz
|
7c9e35dcd6
|
refactor: explicit usage unified accross the library
|
2021-03-13 19:55:18 +01:00 |
|
Mateusz Pusz
|
b5f1eb33ac
|
feat: energy_density and radioactivity definitions added
Although, they are disabled because of downcasting issues.
|
2021-03-13 19:39:59 +01:00 |
|
Johel Ernesto Guerrero Peña
|
017183653d
|
feat: full-on dimensional analysis between related quantity kinds
|
2021-02-21 00:17:03 +01:00 |
|
Johel Ernesto Guerrero Peña
|
8d6d43b32d
|
feat: quantity point-like support
|
2021-02-17 19:40:52 +01:00 |
|
Mateusz Pusz
|
02ea4825e8
|
docs: Compilation warnings handling refactored
|
2021-02-17 15:45:30 +01:00 |
|
Johel Ernesto Guerrero Peña
|
00d182e133
|
fix: operators to behave like the underlying type's
|
2021-02-16 19:25:13 +01:00 |
|
Mateusz Pusz
|
ada3c60ee9
|
refactor: QuantityLike concept improved
|
2021-02-16 19:18:14 +01:00 |
|
Mateusz Pusz
|
79025fff3d
|
fix: Implicit conversion in a downcast_result fixed
|
2021-02-15 20:08:17 +01:00 |
|
Johel Ernesto Guerrero Peña
|
6bf09aa646
|
feat: quantity_kind and quantity_point_kind
|
2021-02-15 19:31:08 +01:00 |
|
Johel Ernesto Guerrero Peña
|
a168f49b66
|
fix: lack of compound assignment from dimensionless<one>
|
2021-02-15 17:07:55 +01:00 |
|
Mateusz Pusz
|
8f04bd9cfe
|
build: mp::units CMake target was a bad idea -> mp-units::mp-units is back
|
2021-02-15 17:06:09 +01:00 |
|
Mateusz Pusz
|
4d965d7f47
|
fix: 💥 dim_torque now properly divides by an angle (instead of multiply) + default unit name change
Resolves #220
|
2021-02-15 15:01:56 +01:00 |
|
Johel Ernesto Guerrero Peña
|
efeacca9ee
|
fix: restore user-warnings within the library implementation
|
2021-02-06 21:20:31 +01:00 |
|
Johel Ernesto Guerrero Peña
|
98c15a2356
|
fix: quantity_cast between different, equivalent dimensions
|
2021-01-18 21:27:16 +01:00 |
|
Mateusz Pusz
|
ba37c37abd
|
fix: MSVC compilation fixed
|
2021-01-06 19:06:09 +01:00 |
|
Mateusz Pusz
|
f4ff02f8e5
|
fix: quantity's compound operators fixed to behave like ints do
|
2021-01-06 16:44:32 +01:00 |
|
Mateusz Pusz
|
76437a7752
|
fix: unit_tests.cpp compilation fixed for MSVC
|
2021-01-04 13:55:27 +01:00 |
|
Mateusz Pusz
|
6539b492a3
|
fix: std::chrono::duration support fixed
Resolves #198
|
2021-01-04 13:05:26 +01:00 |
|
Mateusz Pusz
|
e9db800193
|
test: Got rid of <> for min_expl
|
2021-01-04 12:37:06 +01:00 |
|
Mateusz Pusz
|
2b5777be72
|
test: Tests for no conversion from a dimensionless quantity added
|
2021-01-04 12:36:30 +01:00 |
|
Mateusz Pusz
|
eea770a2e1
|
test: #if COMP_GCC >= 10 removed
Resolves #197
|
2021-01-04 09:45:10 +01:00 |
|
Mateusz Pusz
|
6d7cda949e
|
fix: quantity_cast now correctly casts to an alias_unit
|
2021-01-02 10:56:50 +01:00 |
|
Mateusz Pusz
|
22eb0d08f1
|
fix: math_test compilation error fixed
|
2020-12-29 17:18:04 +01:00 |
|
dkavolis
|
23dd21465d
|
rational powers
|
2020-12-29 17:04:38 +01:00 |
|
Mateusz Pusz
|
6c5f27cda7
|
fix: Compilation errors fixed
|
2020-12-28 19:23:20 +01:00 |
|
Mateusz Pusz
|
3d081d37e6
|
perf: std::is_same_v replaced with units::is_same_v
|
2020-12-28 18:42:03 +01:00 |
|
Mateusz Pusz
|
32391866be
|
refactor: Limited the equivalent trait usage
|
2020-12-28 18:40:58 +01:00 |
|
Mateusz Pusz
|
cff718301c
|
refactor: quantity_io added
|
2020-12-28 15:18:36 +01:00 |
|
Mateusz Pusz
|
008dec79ea
|
refactor: si.h usage limited
|
2020-12-28 14:34:27 +01:00 |
|
Johel Ernesto Guerrero Peña
|
8dede0db9f
|
feat: unit_constants
|
2020-12-28 12:20:54 +01:00 |
|
Mateusz Pusz
|
b015c6badd
|
test: Test disabled for GCC 10.1.0
|
2020-12-27 12:10:03 +01:00 |
|
Mateusz Pusz
|
2b9e9f9780
|
test: Unit tests compilation fixed on gcc-10.1
|
2020-12-23 23:26:54 +01:00 |
|
Mateusz Pusz
|
bf3815a5ee
|
test: Uniform distribution tests fixed
|
2020-12-23 22:28:46 +01:00 |
|
Mateusz Pusz
|
dedf56b598
|
test: chrono unit tests fixed to use implementation-specific representation type
|
2020-12-22 14:36:11 +01:00 |
|
Mateusz Pusz
|
a172f34684
|
build: Minimum CMake version required set for each file based on its contents
|
2020-12-21 22:56:00 +01:00 |
|
Mateusz Pusz
|
206712f046
|
build: Library renamed to mp::units
|
2020-12-17 23:06:37 +01:00 |
|
Mateusz Pusz
|
c5919d2cd8
|
build: Conan generator changed to provide more transparent dependency handling
|
2020-12-09 18:49:39 +01:00 |
|
Mateusz Pusz
|
af2f988b58
|
test: CTAD tests for chrono fixed
|
2020-10-09 23:32:35 +02:00 |
|
Mateusz Pusz
|
a2891296c2
|
test: duplication in chrono test fixed
|
2020-10-09 23:29:18 +02:00 |
|
Mateusz Pusz
|
d64d26a4c4
|
refactor: interoperability with quantity-like types simplified
Type trait specialization for each `quantity` type is not needed anymore.
Relates to #33.
|
2020-10-07 14:29:12 +02:00 |
|
Mateusz Pusz
|
2dd8c90250
|
feat: ✨ interoperability with std::chrono::duration and other units libraries
Resolves #33
|
2020-10-07 12:02:08 +02:00 |
|
Mateusz Pusz
|
043046c068
|
refactor: [[nodiscard]] added to min_expl
|
2020-10-06 19:50:36 +02:00 |
|
Mateusz Pusz
|
4ff96170aa
|
build: workaround for gcc-10.0.1 added
|
2020-10-06 19:21:47 +02:00 |
|