Commit graph

96 commits

Author SHA1 Message Date
e640ac436c xo-unit: tidy: retire unused functions 2024-04-28 15:35:00 -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
67802ed5a3 xo-unit: refactor: streamline .hpp to avoid iostream dep 2024-04-28 15:01:09 -04:00
f535e393e8 xo-unit: + separate basis-unit test 2024-04-28 14:56:32 -04:00
376393b292 xo-unit: bugfix in legacy mpl impl header 2024-04-28 14:55:53 -04:00
bec209f61b xo-unit: iostream header tidy 2024-04-28 14:55:36 -04:00
8d1bdf5463 xo-unit: + unary Quantity.operator- 2024-04-27 11:10:55 -04:00
0a07111084 xo-unit: + natural_unit comparison 2024-04-27 11:08:32 -04:00
65e1c2afd4 xo-unit: bugfix: ratio.to<> -> ratio.convert_to<> 2024-04-27 11:07:55 -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
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
a195e7e702 xo-unit: tidy: nu_bpu_product() -> su_bpu_product() 2024-04-27 08:10:01 -04:00
10f79238b7 xo-unit: tidy: nu_product() -> su_product() 2024-04-27 08:08:43 -04:00
80a439e0a8 xo-unit: tidy: nu_ratio -> su_ratio 2024-04-27 08:07:45 -04:00
c18d4a47ac xo-unit: minor: + convenience _iostream includes for 2024-04-27 08:01:31 -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
0eec013321 xo-unit: + Quantity:: operator*= operator/= 2024-04-27 07:58:23 -04:00
022b1da059 xo-unit: + width2x + use in nu_product, nu_ratio 2024-04-27 07:57:27 -04:00
87e4194433 xo-unit: + double-width accumulators in nu_product, nu_ratio 2024-04-27 07:56:37 -04:00
2e0dd555f9 xo-unit: minor include tidy 2024-04-26 10:00:47 -04:00
8cc47f4a9c xo-unit: bugfix: out-of-bounds access in almost-unreachable path 2024-04-24 20:02:11 -04:00
deda80242a xo-unit: + basis_unit definitions + spellings + a few more 2024-04-24 14:35:00 -04:00
10bd972d34 xo-unit: tidy: namespace bu2 -> bu 2024-04-24 12:56:40 -04:00
382ceb8803 xo-unit: + Quantity<=>Quantity, Quantity==Quantity 2024-04-24 11:35:25 -04:00
5fd8269dcc xo-unit: + Dimensionless/Quantity 2024-04-24 11:35:10 -04:00
0f1338921d xo-unit: + Quantity/Dimensionless 2024-04-24 11:33:19 -04:00
b32363b848 xo-unit: + (Quantity * Dimensionless) and vice versa 2024-04-24 11:32:37 -04:00
be56b6f609 xo-unit: + Quantity.compare() 2024-04-24 11:32:17 -04:00
c46a66565c xo-unit: + Quantity.divide_into() 2024-04-24 11:32:01 -04:00
e538e61172 xo-unit: + Quantity.divide_by() 2024-04-24 11:31:46 -04:00
4d092dcbc2 xo-unit: + Quantity.scale_by() 2024-04-24 11:31:33 -04:00
8ec337c589 xo-unit: + Quantity.rescale() 2024-04-24 11:31:10 -04:00
ac232a397a xo-unit: refactor: make natural_unit.reciprocal() a method 2024-04-24 11:30:41 -04:00
eb36c44613 xo-unit: + Quantity.is_dimensionless() 2024-04-23 21:02:06 -04:00
71de50fbfc xo-unit: build bugfix: missing #include 2024-04-23 20:54:52 -04:00
dcf1439005 xo-unit: + Quantity.subtract support 2024-04-23 15:39:42 -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
04d5b63116 xo-unit: cosmetic: code layout 2024-04-23 10:33:35 -04:00
6bb6068c30 xo-unit: refactor: Quantity2_iostream.hpp -> Quantity_iostream.hpp 2024-04-23 00:33:12 -04:00
e9e3c63aed xo-unit: refactor: Quantity2 -> Quantity 2024-04-23 00:32:32 -04:00
540bdce40b xo-unit: refactor: scaled_unit2 -> scaled_unit 2024-04-23 00:31:27 -04:00
2312fd7d57 xo-unit: refactor: use natural_unit<> instead of unit2<> 2024-04-23 00:30:17 -04:00