Commit Graph
1860 Commits
Author SHA1 Message Date
Mateusz Pusz 929dc72f13 fix: compilation-error fixed 2023-05-14 21:56:02 +02:00
Mateusz Pusz eaca8d073a refactor: convertible_to_result renamed to convertible_result 2023-05-14 12:58:32 +02:00
Mateusz Pusz 1e28c11cfc refactor: convertible_to(U1, U2) renamed to convertible(U1, U2) 2023-05-14 12:43:26 +02:00
Mateusz Pusz c33e3a584d feat: ReferenceOf concept added 2023-05-14 09:35:18 +02:00
Mateusz Pusz 92ff1ecc07 fix: MSVC 14.3 complained about shadowing a symbol of second with local variable s 2023-05-12 12:29:48 +02:00
Mateusz Pusz c1385d2a67 style: extra empty line at top of the file removed 2023-05-12 12:20:07 +02:00
Mateusz Pusz e3f641c2bb fix: LA support fixed 2023-05-12 11:48:33 +02:00
Mateusz Pusz 27cd47b7af refactor: implicit conversion on construction allowed for quantity_point if quantity does the same 2023-05-11 11:10:52 +02:00
Mateusz Pusz 8ef6d409b2 refactor: character of dynamic_viscosity and magnetic_flux_density set explicitly 2023-05-02 22:00:19 +02:00
Mateusz Pusz 541a554852 feat: is_kind added to some dimensionless quantities definitions 2023-05-02 21:42:54 +02:00
Mateusz Pusz 82b18fc44c feat: is_kind support added to quantity_spec definition 2023-05-02 21:39:25 +02:00
Mateusz Pusz bc63ab23e1 refactor: [[nodiscard]] added to functions in type_traits.h 2023-05-02 21:35:28 +02:00
Mateusz Pusz 258a62edcc refactor: quantity hiearchy kinds fixed for some quantity definitions 2023-04-21 15:10:02 +01:00
Mateusz Pusz febc95d319 build: Library version set to 2.0.0 2023-04-21 15:02:21 +01:00
Mateusz Pusz aa15d4dfb4 build: ratio_maths.h removed from CMake build 2023-04-21 15:01:28 +01:00
Mateusz Pusz 5d6fee2585 refactor: quantity refactored + make_quantity() added 2023-04-21 15:00:37 +01:00
Mateusz Pusz 237640cad8 refactor: ratio refactored to use conteval + _ratio_maths.h_ removed 2023-04-21 14:49:51 +01:00
Mateusz Pusz cc3314903d feat: quantity_spec logic implemented 2023-04-21 14:41:33 +01:00
Mateusz Pusz 565465d284 fix: angular trigonometric functions now can be constrained with QuantityOf<angle> 2023-04-10 19:55:25 +02:00
Mateusz Pusz 7ef8193dfc fix: modulo operation logic fixed 2023-04-10 19:46:50 +02:00
Mateusz Pusz ccb06bc0c4 fix: CTAD from raw value restored for quantity_point of dimensionless[one] 2023-04-10 18:17:34 +02:00
Mateusz Pusz c807ba31be feat: quecto, ronto, ronna, quetta prefixed versions of unit symbols added 2023-04-08 19:54:31 +02:00
Mateusz Pusz d65393b4e2 refactor: quantity_spec casts functions renamed 2023-04-08 19:49:51 +02:00
Mateusz Pusz 760c6d724e fix: incorrect unit of pow(), sqrt(), and cbrt() fixed
Resolves #449
2023-04-08 19:33:00 +02:00
Mateusz Pusz 40f6ae2da7 refactor: quantity refactored + quantity_test updated to reflect and test changes 2023-04-05 17:24:08 +02:00
Mateusz Pusz 1a940399c9 refactor: chrono types now convert to quantity kinds 2023-04-04 14:28:38 +02:00
Mateusz Pusz db2edfb539 feat: as_ratio(Magnitude) enabled 2023-04-04 14:27:04 +02:00
Mateusz Pusz 660e62c0a6 refactor: chrono_test refactored to V2 2023-04-03 19:23:08 +02:00
Mateusz Pusz 8da791f8ba refactor(unit test): math tests refactored to not use removed constructor 2023-04-03 18:07:10 +02:00
Mateusz Pusz 8e8f17cb96 fix: get_equation now calls proper pow() overload 2023-04-03 17:45:43 +02:00
Mateusz Pusz e6eb908503 feat: convertible quantity kinds can now be compared 2023-04-03 17:44:34 +02:00
Mateusz Pusz 9f3ea544d5 fix: standard_gravity_unit now prints a correct unicode symbol 2023-03-30 17:49:02 +02:00
Mateusz Pusz e39555e90d feat: arithmetics on dimensionless quantities extended to units different than one 2023-03-30 17:47:47 +02:00
Mateusz Pusz 56dcb716e3 fix: some preprocessor branches fixed 2023-03-30 17:04:25 +02:00
Mateusz Pusz 99283dce1c fix: a workaround for compilation error on MSVC and gcc-10 added 2023-03-30 13:34:06 +02:00
Mateusz Pusz 33d9f43b0f style: clang-format-16 applied to all the code base 2023-03-29 17:05:02 +02:00
Cazadorro 03dc1c8a3c Added check for gsl::gsl-lite to avoid find_package if targets already added by add_subdirectory(...) and did the same for fmt::fmt and ranges-v3, with out these changes, impossible to use library if dependencies are also subdirectories 2023-03-13 14:56:42 -05:00
Johel Ernesto Guerrero Peña fbbddb9e7b refactor: update hacks for LLVM 17 2023-03-04 14:28:37 -04:00
Mateusz Pusz 81949e5ff1 refactor: explicit conversion constructors of quantity removed 2023-02-14 17:21:54 +01:00
Mateusz Pusz b7628a1752 feat: initial version of quantity_spec conversions implemented 2023-02-14 12:28:34 +01:00
Mateusz Pusz f446b4f7a7 feat: standard_gravity now uses acceleration_of_free_fall 2023-02-13 18:56:20 +01:00
Mateusz Pusz 3c2e6d06bb refactor: ISQ system refactored to benefit from the latest changes 2023-02-13 18:55:54 +01:00
Mateusz Pusz 4e3daf3f02 fix: quantity construction in random.h fixed 2023-02-13 18:42:48 +01:00
Mateusz Pusz 8e6fb7818b fix: isq_angle compilation fixed 2023-02-13 18:39:12 +01:00
Mateusz Pusz f667037216 feat: associated quantities provided for units in various systems 2023-02-13 18:37:27 +01:00
Mateusz Pusz 89756c5b74 feat: QuantityKindSpec concept support added + some cleanup 2023-02-13 18:35:07 +01:00
Mateusz Pusz dd7c63b242 fix: quantity construction fixed in some operators 2023-02-13 18:34:00 +01:00
Mateusz Pusz 6b2606a8aa feat: explicit quantity_spec conversion support added to quantity constructor 2023-02-13 18:33:19 +01:00
Mateusz Pusz 41043c25f2 refactor: base unit definition refactored 2023-02-13 18:30:41 +01:00
Mateusz Pusz 0d33926a74 feat: specifying an associated quantity for a derived unit support added 2023-02-13 18:29:27 +01:00