Commit Graph

455 Commits

Author SHA1 Message Date
Mateusz Pusz
bc8c31caa5 is_derived_from_instantiation fixed 2019-12-17 22:18:52 +01:00
Mateusz Pusz
589e26fa81 no_prefix set for prefixed_unit 2019-12-17 20:16:05 +01:00
Mateusz Pusz
3decaecb52 TODO comments clean-up 2019-12-17 20:15:38 +01:00
Mateusz Pusz
80a13b1a94 US system isolated from SI 2019-12-17 12:29:19 +01:00
Mateusz Pusz
b3ea3cdc91 hello_units compilation on gcc-9 fixed 2019-12-17 10:51:59 +01:00
Mateusz Pusz
75081bf566 hello_units example added 2019-12-17 10:48:54 +01:00
Mateusz Pusz
608adf92ae README example fixed 2019-12-17 10:12:17 +01:00
Mateusz Pusz
cdb6a4822e Installation documentation updated 2019-12-17 09:27:32 +01:00
Mateusz Pusz
826942947e Merge branch 'new_design' 2019-12-17 09:21:11 +01:00
Mateusz Pusz
27f6f806db .clang-format updated 2019-12-17 09:16:04 +01:00
Mateusz Pusz
a384fbd75a README updated 2019-12-17 09:15:31 +01:00
Mateusz Pusz
7617e3c374 Installation documentation now used 0.5.0 2019-12-17 09:14:31 +01:00
Mateusz Pusz
0bd7951175 Design documentation updated 2019-12-17 09:14:05 +01:00
Mateusz Pusz
1b2d27a64c measurement example updated with a starship operator 2019-12-17 09:12:11 +01:00
Mateusz Pusz
d5f7de8ecb unknown_dimension definition changed to contain at least one exponent 2019-12-17 08:36:31 +01:00
Mateusz Pusz
00d863508d base_dimension refactored
- now stores dimension's symbol rather than its name
- temperature and current renamed to exactly match their names in SI
2019-12-16 15:58:41 +01:00
Mateusz Pusz
6596c15238 scaled_unit template parameters order fixed (sorry Oliver) 2019-12-14 21:16:15 +01:00
Mateusz Pusz
5ef0bb9a9f base_dimension more constrained and comparison fixed 2019-12-14 21:12:17 +01:00
Mateusz Pusz
8d1eb4c415 derived_dimension code split to a few smaller files 2019-12-14 12:23:47 +01:00
Mateusz Pusz
b1b63e1b3a 2 parital specializations of a derived_dimension split to different types 2019-12-14 11:44:56 +01:00
Andy Little
67262e10ef DESIGN.md : I believe that zero "exponents are elided" rule is a concept of exponent not base-dimension, so have modified parts where exponent rather than base dimension should apply 2019-12-13 19:10:08 +01:00
Mateusz Pusz
156ab7ae7f Unknown dimension assert added to quantity_test 2019-12-12 15:39:04 +01:00
Mateusz Pusz
e10f5baab6 Quantity cast for dimension now uses dimension's coherent unit 2019-12-12 15:38:21 +01:00
Mateusz Pusz
6765054e5d More CGS tests added 2019-12-12 15:37:52 +01:00
Mateusz Pusz
fbf3ef8c4f Most of concepts moved to a new file + quantity.h split to smaller pieces 2019-12-12 13:17:31 +01:00
Mateusz Pusz
9d50ea6ab5 CGS case added to avg_speed example 2019-12-11 21:38:44 +01:00
Mateusz Pusz
73033e347a exbi data prefix added (resolves #37) 2019-12-11 17:41:18 +01:00
Mateusz Pusz
283b725eb7 PNG files explicitly marked as binary (resolves #39) 2019-12-11 17:31:25 +01:00
Mateusz Pusz
12b67923bc CGS tests added 2019-12-11 16:20:08 +01:00
Mateusz Pusz
71f38222ea Implicit conversions fixed 2019-12-11 16:16:05 +01:00
Mateusz Pusz
a10660d065 More SI tests added 2019-12-11 13:55:58 +01:00
Mateusz Pusz
5a7324596d Resulting unit ratio fixed in arithmetic operations 2019-12-11 13:31:40 +01:00
Mateusz Pusz
c3c80fde11 Spaceship support added (resolves #19) 2019-12-11 11:27:51 +01:00
Mateusz Pusz
e472fdc348 Most of the operators converted to hidden friends 2019-12-11 10:44:55 +01:00
Mateusz Pusz
4f769982a5 TODO removed 2019-12-11 09:32:29 +01:00
Mateusz Pusz
c1e4e57d84 clang-format + TODOs added to ratio 2019-12-11 09:28:40 +01:00
Mateusz Pusz
4304747406 -pedantic warning flag reenabled 2019-12-11 09:27:17 +01:00
Mateusz Pusz
62164e426a conan test_package fixed 2019-12-11 08:34:16 +01:00
Mateusz Pusz
9bebf316a7 gcc-9.1 build fixed 2019-12-11 08:27:12 +01:00
Mateusz Pusz
9e34050e23 fmt and catch2 updated to the latest versions 2019-12-11 08:22:12 +01:00
Mateusz Pusz
bc1901f4f0 Text formatting enabled + directory tree refactoring 2019-12-11 08:07:13 +01:00
Mateusz Pusz
9c0005792c Added info about git submodules and fixed compiler.cppstd=20 conan flag 2019-12-11 07:10:28 +01:00
Mateusz Pusz
8ffc46ba75 CGS support added 2019-12-09 17:19:58 +01:00
Mateusz Pusz
7619a6f831 gcc-10 crash fixed 2019-12-08 21:57:06 +01:00
Mateusz Pusz
6b4220100f quantity_cast refactored
- new version with ToD added
- <ToU, Rep> version removed
2019-12-08 16:24:29 +01:00
Mateusz Pusz
d465d47803 range-v3 dependency removed for gcc-10 2019-12-08 16:09:00 +01:00
Mateusz Pusz
2c29af9670 Custom unit and data tests enabled 2019-12-07 18:33:55 +01:00
Mateusz Pusz
22eda11bea More refactoring
- unknown_unit and unknown_dimension added
- the support for remaining SI units added
2019-12-07 16:30:40 +01:00
Mateusz Pusz
33f14f39f3 math_test enabled 2019-12-06 12:56:44 +01:00
Mateusz Pusz
71eec182f9 clang-format updated 2019-12-06 12:19:11 +01:00