Commit Graph
143 Commits
Author SHA1 Message Date
Mateusz Pusz 3bcd80681e base_dimension is provided as a const& to the exp type 2019-09-06 10:16:19 +02:00
Mateusz Pusz ae65407876 Missing change in unit tests committed to fix build errors 2019-08-07 18:34:18 +02:00
Mateusz Pusz 7d70e6b1ce Predefined dimensions moved to a dedicated directory 2019-08-06 10:44:25 +02:00
Mateusz Pusz 9c979fc03a Missing op*() added 2019-08-05 18:22:53 +02:00
Mateusz Pusz b0c4a6c2a8 meter renamed to metre 2019-08-02 17:04:55 +02:00
Mateusz Pusz ce53df71fc Added a few more derived dimensions 2019-07-24 16:55:21 +02:00
Mateusz Pusz 9e74613a4a Leading underscore prefix removed from UDLs 2019-07-24 12:20:06 +02:00
Mateusz Pusz 98203afa29 units moved to std::experimental namespace 2019-07-24 11:58:15 +02:00
Mateusz Pusz eeb4c9c951 Dimension template parameter removed from quantity 2019-07-19 13:49:49 +02:00
Mateusz Pusz 7cbeb35e17 Double sorting of exponents removed 2019-07-18 10:01:42 +02:00
Mateusz Pusz 9c0f2c6878 Custom ratio type implemented 2019-05-28 16:17:48 +02:00
Mateusz Pusz 7bcc5c7b0b common_ratio refactored 2019-05-28 15:01:50 +02:00
Mateusz Pusz c43871578e type_list refactored 2019-05-28 14:35:25 +02:00
Mateusz Pusz cec78ec8cb type_list related tests added to metabench 2019-05-28 14:33:08 +02:00
Mateusz Pusz c3d896e661 Input range for ratio creation changed 2019-05-28 14:31:50 +02:00
Mateusz Pusz 6780978be6 ratio_type_constexpr refactored to provide safe_multiply 2019-05-19 20:38:45 +02:00
Mateusz Pusz 7caadfcd0d Ratio metabench tests split to individual operations 2019-05-19 17:40:05 +02:00
Mateusz Pusz f18b00252b Metabench chart renamed 2019-05-18 12:59:37 +02:00
Mateusz Pusz 28277c56ed A small refactoring of a metabench cmake 2019-05-17 23:34:09 +02:00
Mateusz Pusz 7bebf6e1e0 Metabench support and tests added 2019-05-17 22:41:46 +02:00
Mateusz Pusz 863a14ed36 Unit tests with useless casts refactored 2019-05-08 11:19:33 -06:00
Mateusz Pusz 88a3b9b50a Portability issue fixed in a unit test 2019-05-08 09:06:45 -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 2d52782407 type_list moved from mp to units namespace 2019-05-07 08:28:02 -06:00
Mateusz Pusz 0e36a6025f tools.h spread to multiple files 2019-05-07 08:25:18 -06:00
Mateusz Pusz 27858f2b33 my_value toy class refactored 2019-04-11 20:56:16 +01:00
Mateusz Pusz a49ef2d055 Area support added 2019-04-11 13:36:54 +01:00
Mateusz Pusz 709e1190af derived_unit helper added 2019-04-11 13:36:06 +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 941401de31 US customary length units added 2019-04-09 13:34:55 +02:00
Mateusz Pusz 125ecc56c8 units package renamed to mp-units/mp::units 2019-04-07 08:33:13 +02:00
Mateusz Pusz 8d86d9401f units building and packaging redesigned + Travis CI support 2019-04-06 23:25:35 +02:00
Mateusz Pusz 467d548ae5 Additional type list sorting added to make_dimension 2018-11-17 12:37:33 +01: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 4796d777b9 Centimeters support added 2018-10-16 15:40:20 +02:00
Mateusz Pusz 4409fa01ca Library refactoring based on Walter Brown's feedback 2018-09-29 18:08:02 -07:00
Mateusz Pusz 8d42ed7eec Type List interface made generic 2018-09-28 14:20:23 -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