Commit graph

198 commits

Author SHA1 Message Date
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
ab689b51df xo-unit: + quantity printing + tests for mass units 2024-04-28 19:12:40 -04:00
a3c6ef6d33 xo-unit: + gigatonne unit 2024-04-28 19:12:17 -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
a6496a970e xo-unit: minor tidy 2024-04-28 16:01:29 -04:00
1cc5dd80d2 xo-unit: bugfix: fix missing include 2024-04-28 16:01:03 -04:00
7fe2f523d7 xo-unit: + Quantity.abbrev() 2024-04-28 16:00:25 -04:00
50789fae7c xo-unit: + Quantity::zero_qty() 2024-04-28 16:00:12 -04:00
85a25b6fb6 xo-unit: choose appropriate 2x-width in Quantity template 2024-04-28 15:59:42 -04:00
e640ac436c xo-unit: tidy: retire unused functions 2024-04-28 15:35: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
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
5e69c494ce xo-unit: build: need explicit xo-flatstring dep (wtf) 2024-04-28 14:54:51 -04:00
37170d604d xo-unit: build: exported cmake config must pull xo_ratio 2024-04-28 14:54:33 -04:00
3053e0586e xo-unit: build: must uxe xo_self_headeronly_dependency() for exes 2024-04-28 14:54:06 -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
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