Commit Graph
19 Commits
Author SHA1 Message Date
Mateusz Pusz 6201109c60 refactor: TYPENAME and CONSTEVAL macros got MP_UNITS_ prefix 2023-06-21 18:07:55 +02:00
Mateusz Pusz 3585e2a33c refactor: all math functions refectored 2023-06-14 15:57:59 +03:00
Mateusz Pusz f267ab27a0 refactor: pow now uses quantity::one instead of rep(1) 2023-06-13 17:39:09 +03:00
Mateusz Pusz c79a76ab8f fix: pow, sqrt, and cbrt fixed for quantities 2023-06-13 09:17:32 +03:00
Mateusz Pusz c5a0539cef refactor: all non-trigonometric math functions made constexpr 2023-06-02 10:53:34 +02:00
Mateusz Pusz 7d9ae3ec31 refactor: mp_units subdirectory renamed to mp-units 2023-05-25 12:47:10 +02:00
Mateusz Pusz 5d6fee2585 refactor: quantity refactored + make_quantity() added 2023-04-21 15:00:37 +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 1a940399c9 refactor: chrono types now convert to quantity kinds 2023-04-04 14:28:38 +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 4e3daf3f02 fix: quantity construction in random.h fixed 2023-02-13 18:42:48 +01:00
Mateusz Pusz d70b95237c refactor: Quantity no longer can be constructed with a raw value
Resolves #434
2023-02-09 09:42:00 -08:00
Mateusz Pusz 0417507b49 refactor: math refactored to the latest library state 2023-02-08 21:49:19 -08:00
Mateusz Pusz cf3408a3c8 refactor: implementation cleanup + support for units as references started 2023-02-02 14:56:29 +01:00
Mateusz Pusz 2cf736a1e6 feat: preventing possible future units crash when using namespace std;
Resolves #317
2022-12-29 20:18:48 +01:00
Mateusz Pusz f430e81202 style: CMake files reformatted to make pre-commit happy 2022-12-27 10:51:29 +01:00
Mateusz Pusz f0a91aa77e refactor: math functions constraints weakened to allow interoperability with more argument types 2022-12-27 10:29:48 +01:00
Mateusz Pusz 1cec3d4867 refactor: _chrono.h_, _math.h_, and _random.h_ move to utlitity CMake module 2022-12-25 17:20:44 +01:00