|
|
5fd6bd3148
|
xo-unit: refactor: ++ docs
|
2024-05-07 23:12:04 -04:00 |
|
|
|
d767675dd9
|
xo-unit: docs extension
|
2024-05-07 21:48:48 -04:00 |
|
|
|
74f36ad374
|
xo-unit: minor doc improvements
|
2024-05-07 15:29:39 -04:00 |
|
|
|
22dbb5e529
|
xo-unit: streamline: rename namespacesu -> u
|
2024-05-07 15:21:17 -04:00 |
|
|
|
aad6bd50e8
|
xo-unit: simplify-api: represent quantity<> unit using scaled_unit<>
|
2024-05-07 15:07:22 -04:00 |
|
|
|
df6cfbb25c
|
xo-unit: promote to common repr in mixed-type operator* w/ quantity
Avoid truncating when, for example, multiplying
quantity<Unit, int> * double.
Add targeted unit test for this
|
2024-05-07 10:38:38 -04:00 |
|
|
|
3e86011f51
|
xo-unit: simplify quantity
Always get ratio numerator/denominator type from NaturalUnit
|
2024-05-07 10:35:54 -04:00 |
|
|
|
9a5def616b
|
xo-unit: bugfix: need handling for power=-1/2
|
2024-05-04 14:50:58 -04:00 |
|
|
|
822d636812
|
xo-unit: refactor: move unit argument to first pos in quantity<>
|
2024-05-03 22:01:31 -04:00 |
|
|
|
862187c69d
|
xo-unit: tidy: remove stray TYPE_INFERENCE_EXPERIMENT debris
|
2024-05-03 21:55:25 -04:00 |
|
|
|
e37340f6c2
|
xo-unit: use auto to elide a template arg to quantity
|
2024-05-03 21:54:11 -04:00 |
|
|
|
be8e832481
|
xo-unit: refactor: move quantity_util into detail namespace
|
2024-05-03 21:32:44 -04:00 |
|
|
|
b028588877
|
xo-unit: + quantity / quantity
|
2024-05-03 01:43:23 -04:00 |
|
|
|
2f9266b6ed
|
xo-unit: utest: + quantity mult tests
|
2024-05-03 01:37:52 -04:00 |
|
|
|
be67f55c79
|
xo-unit: restore constexpr quantity*quantity
|
2024-05-03 01:37:27 -04:00 |
|
|
|
6508fd5dc2
|
xo-unit: refactor: rename quantity2_concept -> quantity_concept
|
2024-05-02 14:12:03 -04:00 |
|
|
|
ca8d5fd235
|
xo-unit: refactor: Quantity -> xquantity to match filename
|
2024-05-02 12:02:45 -04:00 |
|
|
|
a03b932253
|
xo-unit: fix compiler nits for gcc 13.2
|
2024-05-01 23:09:28 -04:00 |
|
|
|
1dd6ac7d80
|
Merge branch 'main' of github.com:rconybea/xo-unit
|
2024-05-01 23:07:30 -04:00 |
|
|
|
eb63f5fdc8
|
xo-unit: multiply, volatility units, share operators
|
2024-05-01 23:04:14 -04:00 |
|
|
|
9b8702e26d
|
xo-unit: rename: Quantity2 -> xquantity filenames only for now
|
2024-04-30 09:37:21 -05:00 |
|
|
|
f92371cd9b
|
xo-unit: rename to avoid conflicts on case-insensitive fs
|
2024-04-30 09:34:05 -05:00 |
|
|
|
e57ee85a7d
|
xo-unit: rename files to avoid collisions on osx filesystem
|
2024-04-30 08:40:08 -05:00 |
|
|
|
eeee5a2a36
|
xo-unit: builds + runs on darwin
|
2024-04-29 23:33:17 -05:00 |
|
|
|
d7fa7156df
|
xo-unit: + distance, time compile-time units
|
2024-04-28 21:52:37 -04:00 |
|
|
|
ab689b51df
|
xo-unit: + quantity printing + tests for mass units
|
2024-04-28 19:12:40 -04:00 |
|
|
|
e6ccd09ad7
|
xo-unit: utest: tidy
|
2024-04-28 18:46:20 -04:00 |
|
|
|
9373026960
|
xo-unit: utest tidy
|
2024-04-28 18:44:07 -04:00 |
|
|
|
5f9bbb6648
|
xo-unit: utest tidy
|
2024-04-28 18:43:33 -04:00 |
|
|
|
8c70c0d837
|
xo-unit: utest tidy
|
2024-04-28 18:39:43 -04:00 |
|
|
|
e95a21f83f
|
xo-unit: utest tidy
|
2024-04-28 18:37:05 -04:00 |
|
|
|
c5c0ab72ef
|
xo-unit: more utest tidy
|
2024-04-28 18:31:22 -04:00 |
|
|
|
21a135f795
|
xo-unit: utest tidy
|
2024-04-28 18:23:59 -04:00 |
|
|
|
e379b9c46f
|
xo-unit: tidy: move exponent-abbrev test to bpu.test.cpp
|
2024-04-28 16:04:26 -04:00 |
|
|
|
0f06ac6577
|
xo-unit: compile-time constexpr unit stalking horse [wip]
|
2024-04-28 16:02:23 -04:00 |
|
|
|
bf3abc59f2
|
xo-unit: test: move natural_unit tests out of unit.test.cpp + tidy
|
2024-04-28 16:02:00 -04:00 |
|
|
|
ed842a6172
|
xo-unit: tidy: bu.test.cpp -> basis_unit.test.cpp
|
2024-04-28 15:34:43 -04:00 |
|
|
|
a7af978e50
|
xo-unit: test: verify natural_unit/scaled_unit is structural type
|
2024-04-28 15:23:08 -04:00 |
|
|
|
9350f017b1
|
xo-unit: utest: + bpu test to verify bpu is structurual type
|
2024-04-28 15:09:01 -04:00 |
|
|
|
f535e393e8
|
xo-unit: + separate basis-unit test
|
2024-04-28 14:56:32 -04:00 |
|
|
|
2b03bb9442
|
xo-unit: ++ Quantity unit test
|
2024-04-27 11:23:47 -04:00 |
|
|
|
8d1bdf5463
|
xo-unit: + unary Quantity.operator-
|
2024-04-27 11:10:55 -04:00 |
|
|
|
e1fee23cdc
|
xo-unit: expand Quantity unit tests
|
2024-04-27 11:08:44 -04:00 |
|
|
|
7347a4f3a9
|
xo-unit: test: expand scope of rng quantity test + turn off debug
|
2024-04-27 10:01:02 -04:00 |
|
|
|
06ed8fec8b
|
xo-unit: use Quantity.scale repr for outer scale to avoid overflow
|
2024-04-27 09:57:29 -04:00 |
|
|
|
b52ab13495
|
xo-unit: refactor: su.outer_scale_exact -> outer_scale_factor
|
2024-04-27 08:40:12 -04:00 |
|
|
|
09f05f648f
|
xo-unit: refactor: push nu_maker into detail namespace
|
2024-04-27 08:23:00 -04:00 |
|
|
|
cb2b1c8b9e
|
xo-unit: refactor: nu_maker.make_bpu_array -> make_nu
|
2024-04-27 08:21:47 -04:00 |
|
|
|
483d14ae5f
|
xo-unit: tidy: bpu_array_maker -> nu_maker
|
2024-04-27 08:15:01 -04:00 |
|
|
|
a195e7e702
|
xo-unit: tidy: nu_bpu_product() -> su_bpu_product()
|
2024-04-27 08:10:01 -04:00 |
|