dkavolis
|
23dd21465d
|
rational powers
|
2020-12-29 17:04:38 +01:00 |
|
Mateusz Pusz
|
a9db3ec3fc
|
refactor: Documentation and explicitly deleted operators provided for one_rep
|
2020-12-29 13:48:15 +01:00 |
|
Mateusz Pusz
|
671f8912ce
|
refactor: one_rep moved to a primary units namespace
|
2020-12-29 13:48:07 +01:00 |
|
Mateusz Pusz
|
a365bca07c
|
perf: conditional replaced with constraints in clas template specializations
|
2020-12-28 20:18:23 +01:00 |
|
Mateusz Pusz
|
32391866be
|
refactor: Limited the equivalent trait usage
|
2020-12-28 18:40:58 +01:00 |
|
Mateusz Pusz
|
028b8fb80c
|
refactor: algorithm.h removed from ratio.h
|
2020-12-28 16:15:47 +01:00 |
|
Mateusz Pusz
|
55e5cac33f
|
refactor: More stream-specific implementation moved to quantity_io.h
|
2020-12-28 16:15:19 +01:00 |
|
Mateusz Pusz
|
283d8f063e
|
refactor: algorithm.h not needed in ratio_maths.h
|
2020-12-28 15:45:01 +01:00 |
|
Mateusz Pusz
|
cff718301c
|
refactor: quantity_io added
|
2020-12-28 15:18:36 +01:00 |
|
Johel Ernesto Guerrero Peña
|
8dede0db9f
|
feat: unit_constants
|
2020-12-28 12:20:54 +01:00 |
|
Mateusz Pusz
|
0fb821a392
|
fix: Commutativity no longer required for operator*
Resolves #185
|
2020-12-27 12:26:40 +01:00 |
|
Mateusz Pusz
|
68058cfb25
|
fix: Atomic constraints fixed for safe_convertible_to_
|
2020-12-22 14:37:03 +01:00 |
|
Johel Ernesto Guerrero Peña
|
5224375e0d
|
Revert "refactor: <gsl/gsl_assert> to <gsl/assert>"
This reverts commit d7a82713d5.
|
2020-12-21 19:56:26 +01:00 |
|
Johel Ernesto Guerrero Peña
|
d7a82713d5
|
refactor: <gsl/gsl_assert> to <gsl/assert>
|
2020-12-20 23:02:23 +01:00 |
|
Mateusz Pusz
|
bcaccccc7a
|
refactor: abs() defnition refactored to be more explicit about the return type
|
2020-12-16 17:58:02 +01:00 |
|
Mateusz Pusz
|
a82a9d8fe2
|
fix: exp() has sense only for dimensionless quantities
Resolves #178
|
2020-12-16 17:57:04 +01:00 |
|
Mateusz Pusz
|
803622a1be
|
refactor: [[nodiscard]] added to quantity_like_traits for std::chrono
|
2020-10-09 23:24:00 +02:00 |
|
Mateusz Pusz
|
8b15826c65
|
refactor: Small cleanup after @johelegp code review
|
2020-10-08 08:54:30 +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
|
cfc90f4aac
|
refactor: 💥 basic_concepts, quantity and quantity_cast refactored
BREAKING CHANGE: ScalableNumber renamed to QuantityValue
Resolves #107
|
2020-10-06 18:17:52 +02:00 |
|
Mateusz Pusz
|
40f205b381
|
fix: ambiguous case for empty list resolved
|
2020-10-01 13:39:36 +02:00 |
|
Mateusz Pusz
|
920c396742
|
feat: value initialization for quantity value removed (left with a default initialization)
|
2020-09-24 16:10:07 +02:00 |
|
Mateusz Pusz
|
a098f97c08
|
feat: CTAD for dimensionless quantity added
|
2020-09-23 16:34:13 +02:00 |
|
Mateusz Pusz
|
cb86cd2bcd
|
fix: regression in quantity::op<<() for the case of std::setw() fixed
|
2020-09-15 08:55:35 +02:00 |
|
Mateusz Pusz
|
8687527b34
|
perf: temporary string creation removed from quantity::op<<()
|
2020-09-15 07:30:06 +02:00 |
|
Mateusz Pusz
|
79b402db41
|
refactor: small cleanup in quantity_cast
|
2020-09-14 20:42:19 +02:00 |
|
Mateusz Pusz
|
ca11f4ff5d
|
fix: ms-gsl Expects commented out for runtime code
Refers to #165
Resolves #164
|
2020-09-14 20:09:51 +02:00 |
|
Mateusz Pusz
|
3b0ba31e4d
|
fix: constant evaluation encouraged in quantity_cast
Refers to #164
|
2020-09-14 20:07:26 +02:00 |
|
Mateusz Pusz
|
d4d23847d8
|
refactor: DOWNCAST_MODE renamed to UNITS_DOWNCAST_MODE
|
2020-09-13 18:45:46 +02:00 |
|
Mateusz Pusz
|
68bdc82955
|
docs: quantity_of concepts family documentation added
|
2020-09-13 17:45:12 +02:00 |
|
Mateusz Pusz
|
6e510b3a2a
|
refactor: modules-like behavior for systems removed to improve broken compile-time
Reffers to #32
|
2020-09-13 00:11:02 +02:00 |
|
Mateusz Pusz
|
57548fdb24
|
refactor: added preprocessor branch for downcast_mode OFF code
|
2020-09-12 21:21:45 +02:00 |
|
Mateusz Pusz
|
a19c97fe85
|
refactor: small downcasting refactoring
|
2020-09-12 21:20:17 +02:00 |
|
Mateusz Pusz
|
be46ac77d6
|
fix: downcasting_2.0 workaround for MSVC
|
2020-09-12 21:19:40 +02:00 |
|
Mateusz Pusz
|
47c1930721
|
refactor: derived_from concepts refactored
|
2020-09-11 21:23:46 +02:00 |
|
Mateusz Pusz
|
f4747a4d7d
|
refactor: ♻️ more file system related cleanup (mostly physical dimensions definitions)
BREAKING_CHANGE: current, substance, temperature renamed to proper names
|
2020-09-11 21:16:26 +02:00 |
|
Mateusz Pusz
|
2d51b2f233
|
fix: wrong integral type used for exponent values fixed
|
2020-09-11 18:12:07 +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 |
|
Matthew Barry
|
4120fd408b
|
Fix typo in 'day' time unit declaration
Output formatted in days (e.g., `quantity_cast<si::day>(some_time)`) had the right scaling, but the wrong unit (`h` instead of `d`)
|
2020-09-11 08:36:28 +02:00 |
|
rbrugo
|
1061d2ac56
|
Fixed indentation
|
2020-09-10 23:09:12 +02:00 |
|
rbrugo
|
91761f0522
|
Added L modifier 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
|
6f88a03285
|
fix: ambiguity of operators in case of unknown_dimension resolved
|
2020-09-10 13:02:33 +02:00 |
|
Mateusz Pusz
|
9cd0cb4105
|
feat: two argument explicit cast support added
|
2020-09-10 13:01:38 +02:00 |
|
Mateusz Pusz
|
44e8d39102
|
feat: dimensionless quantity implicit construction enabled for DOWNCAST_MODE=OFF
|
2020-09-10 11:34:58 +02:00 |
|
Johel Ernesto Guerrero Peña
|
4cb1122ff4
|
fix: require equal exponent ratios for DimensionOf when UNITS_DOWNCAST OFF
|
2020-09-10 08:37:36 +02:00 |
|
Johel Ernesto Guerrero Peña
|
c284b7e25a
|
refactor: simplify Prefix
|
2020-09-10 08:20:17 +02:00 |
|
Johel Ernesto Guerrero Peña
|
bc8632ee27
|
fix: Prefix
|
2020-09-10 08:20:17 +02:00 |
|
Johel Ernesto Guerrero Peña
|
d6fba478b9
|
feat: working dimension concepts with UNITS_DOWNCAST OFF
continuation of https://github.com/johelegp/units-1/commit/22e6107d0f363d894dcef98dd427e4004ac88f30
|
2020-09-10 00:01:06 +02:00 |
|