Commit graph

25 commits

Author SHA1 Message Date
aad6bd50e8 xo-unit: simplify-api: represent quantity<> unit using scaled_unit<> 2024-05-07 15:07:22 -04:00
1a2023a9a2 xo-unit: + .is_natural() method in natural_unit, scaled_unit 2024-05-07 13:37:44 -04:00
166276c710 xo-unit: add imperial distance units inch/foot/yard/mile 2024-05-07 10:31:51 -04:00
cf65def417 xo-unit: + 30-day volatility unit, factory function 2024-05-04 14:52:19 -04:00
9a5def616b xo-unit: bugfix: need handling for power=-1/2 2024-05-04 14:50:58 -04:00
eb63f5fdc8 xo-unit: multiply, volatility units, share operators 2024-05-01 23:04:14 -04:00
a3c6ef6d33 xo-unit: + gigatonne unit 2024-04-28 19:12:17 -04:00
a7af978e50 xo-unit: test: verify natural_unit/scaled_unit is structural type 2024-04-28 15:23:08 -04:00
0a07111084 xo-unit: + natural_unit comparison 2024-04-27 11:08:32 -04:00
06ed8fec8b xo-unit: use Quantity.scale repr for outer scale to avoid overflow 2024-04-27 09:57:29 -04:00
09f05f648f xo-unit: refactor: push nu_maker into detail namespace 2024-04-27 08:23:00 -04:00
efc4623492 xo-unit: streamline: nu_maker.make_bpu_array -> make_nu 2024-04-27 08:21:00 -04:00
483d14ae5f xo-unit: tidy: bpu_array_maker -> nu_maker 2024-04-27 08:15:01 -04:00
c95548d935 xo-unit: tidy: namespace nu2 -> nu 2024-04-27 08:12:25 -04:00
41278a290b xo-unit: + natural unit vars in xo::qty::nu2 2024-04-27 07:59:23 -04:00
1736237419 xo-unit: + natural_unit.from_bu() 2024-04-27 07:58:50 -04:00
10bd972d34 xo-unit: tidy: namespace bu2 -> bu 2024-04-24 12:56:40 -04:00
ac232a397a xo-unit: refactor: make natural_unit.reciprocal() a method 2024-04-24 11:30:41 -04:00
e1d7f62ca6 xo-unit: + Quantity.add support 2024-04-23 15:36:11 -04:00
8548f26143 xo-unit: + Quantity division 2024-04-23 14:46:40 -04:00
6a3db2197e xo-unit: + natural_unit.abbrev() 2024-04-23 10:33:56 -04:00
6045f5a053 xo-unit: refactor: bpu2 -> bpu 2024-04-22 20:32:46 -04:00
16b14f6827 refactor: xo-unit: native_bpu2.hpp -> bpu2.hpp 2024-04-22 15:46:37 -04:00
cb5cd1d26f xo-unit: refactor: xo::unit ns -> xo::qty 2024-04-22 15:41:15 -04:00
5bde1bfb94 xo-unit: + constexpr implementation (runtime+compiletime) 2024-04-22 14:53:57 -04:00