Commit Graph

12 Commits

Author SHA1 Message Date
Mateusz Pusz
863a14ed36 Unit tests with useless casts refactored 2019-05-08 11:19:33 -06:00
Mateusz Pusz
cf2370b8fe Limited number of places where common_type is being used on quantities
For some specific mathematical types different type might be returned from division, mulitplication, substraction, etc.
std::common_type<> does not have an information which operation is being performed. It is much better to just get
the actual result of specific operation.
2019-05-07 21:03:58 -06:00
Mateusz Pusz
27858f2b33 my_value toy class refactored 2019-04-11 20:56:16 +01:00
Mateusz Pusz
d78508a02f Refactored units definitions, added the remaining SI base units, refactored header includes 2019-04-09 21:31:09 +01:00
Mateusz Pusz
dd9f1b20cb literals namespace made inline 2019-04-09 17:22:15 +02:00
Mateusz Pusz
e866985668 Strong units support added 2018-11-14 22:36:02 +01:00
Mateusz Pusz
94fd74000c Type traits changed to variable templates 2018-11-10 17:09:11 -08:00
Mateusz Pusz
4e74617e2a Number concept used for representation 2018-10-19 13:02:58 +02:00
Mateusz Pusz
4409fa01ca Library refactoring based on Walter Brown's feedback 2018-09-29 18:08:02 -07:00
Mateusz Pusz
40ab45b506 Code cleanup 2018-09-28 10:53:21 -07:00
Mateusz Pusz
312dbf4f81 Units library moved to concepts world 2018-09-28 07:47:37 -07:00
Mateusz Pusz
4b376e3c2e Initial version 2018-08-22 12:11:19 +02:00