Commit graph

231 commits

Author SHA1 Message Date
821ed4f56f xo-unit: refactor: rev args to stdquantity<> for consistency 2024-05-03 22:03:41 -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
844bbca3de xo-unit: doc fixes 2024-05-03 21:37:40 -04:00
83424e1ee3 xo-unit: + repr argument to stdquantity 2024-05-03 21:37:22 -04:00
4263144614 xo-unit: rename scaled_unit o/load of rescale() -> rescale_ext() 2024-05-03 21:36:51 -04:00
f3e75cc634 xo-unit: stop hardwiring representation for a few qty builders 2024-05-03 21:35:53 -04:00
633c037ba3 xo-unit: + with_repr() convenience for xo::qty::quantity 2024-05-03 21:34:55 -04:00
5078cdd8de xo-unit: rename with_units -> with_units_from 2024-05-03 21:33:30 -04:00
be8e832481 xo-unit: refactor: move quantity_util into detail namespace 2024-05-03 21:32:44 -04:00
8502b863f2 xo-unit: doc improvements to match upgraded ex1, ex2, ex3 2024-05-03 18:47:43 -04:00
76043fb7cb xo-unit: ex3 using up-to-date compile-time units 2024-05-03 18:47:14 -04:00
42503feb62 xo-unit: + qty::meter, qty::second 2024-05-03 18:46:36 -04:00
cf9ad4d02e xo-unit: + su::meter, su::second 2024-05-03 18:45:54 -04:00
dd643109cc xo-unit: streamlined ex2 2024-05-03 18:45:37 -04:00
90031b2296 xo-unit: streamlined ex1 2024-05-03 18:45:08 -04:00
cfdf380c05 xo-unit: move wdith2x helper template to own .hpp file 2024-05-03 18:43:35 -04:00
b028588877 xo-unit: + quantity / quantity 2024-05-03 01:43:23 -04:00
8f7d60dd21 xo-unit: ex1: upgrade to qty::quantity<..> with constexpr units 2024-05-03 01:38:21 -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
be24d649eb xo-unit: + always_constexpr_unit flag in quantity,xquantity 2024-05-03 01:36:05 -04:00
1729ce06fc xo-unit: tidy: quantity2_concept.hpp -> quantity_concept.hpp 2024-05-02 14:13:14 -04:00
6508fd5dc2 xo-unit: refactor: rename quantity2_concept -> quantity_concept 2024-05-02 14:12:03 -04:00
16ef7658b9 xo-unit: remove unused file 2024-05-02 14:10:11 -04:00
ca8d5fd235 xo-unit: refactor: Quantity -> xquantity to match filename 2024-05-02 12:02:45 -04:00
3c4f77aa12 xo-unit: nix: supply xo-flatstring dep 2024-05-02 11:22:34 -04:00
40ba11d99f xo-unit: nix: + missing deps 2024-05-02 11:22:12 -04:00
7d53a47f50 xo-unit: nix: fix deps after splitting off xo-flatstring,xo-ratio 2024-05-02 10:13:50 -04:00
5574b6e8df xo-unit: nix: + xo-flatstring dep 2024-05-02 09:53:51 -04:00
2f4778f3ac xo-unit: build: + xo-randomgen dep 2024-05-02 09:46:21 -04:00
ba793cf5b5 xo-unit: nix: fix xo-ratio buidl 2024-05-02 09:38:48 -04:00
cb7d4db69c xo-unit: nix: + xo-ratio dep 2024-05-02 09:23:21 -04:00
d98a86fafd xo-unit: fix deps for ubuntu build 2024-05-01 23:21:05 -04:00
7c8a60789f xo-unit: bugfix: track Quantity.hpp -> xquantity.hpp 2024-05-01 23:09:42 -04:00
a03b932253 xo-unit: fix compiler nits for gcc 13.2 2024-05-01 23:09:28 -04:00
5735a3525f xo-unit: share operator impls 2024-05-01 23:07:44 -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
6a949d16c5 xo-unit: operator<=> for (xquantity, double) pairs 2024-05-01 14:30:51 -04:00
022bef09d0 xquantity: + (xquantity, double) overloads for operator== 2024-05-01 10:42:35 -05:00
9438456e94 xo-unit: + (xquantity, double) overloads for operator- 2024-05-01 10:32:43 -05:00
a91c90fad4 xo-unit: operator+ overloads for (xquantity, double) 2024-05-01 10:25:44 -05:00
bb90a37460 xo-unit: streamline xquantity printing, match quantity printing 2024-05-01 10:25:10 -05: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