Commit Graph
255 Commits
Author SHA1 Message Date
Mateusz Pusz 975025f88a refactor: 💥 convertibility traits and concepts refactored to use bool flags instead of wrappers 2024-10-29 13:15:10 +01:00
Mateusz Pusz af18a6ba51 refactor: 💥 𝜋 replaced with π 2024-10-24 07:22:45 +02:00
Mateusz Pusz 91f0ad0a12 refactor: quantity.h is not needed in constants.h (unit.h is enough) 2024-10-15 21:03:43 +02:00
Mateusz Pusz 6591a65d06 feat: 𝜋 added as an alias for pi 2024-10-14 22:49:58 +02:00
Mateusz Pusz d790c8b44a feat: Unicode unit symbols 2024-10-10 00:10:05 +02:00
Mateusz Pusz dd55a52675 feat: alternative litre unit symbol L added to prevent ambiguities with 1 2024-10-06 08:53:04 +02:00
Mateusz Pusz 2249879d62 feat: litre text symbol changed from l to L to avoid ambiguity with 1 2024-10-06 08:32:16 +02:00
Mateusz Pusz 07e4e795c1 refactor: magnitude interface cleanup 2024-10-04 17:22:15 +02:00
Mateusz Pusz fcbd172135 feat: iec::bit using-declared in iec::unit_symbols 2024-09-28 15:08:36 +02:00
Mateusz Pusz fb8f67c68a refactor: 💥 all iec quantity specifications are now deprecated and moved to isq
IEC 80000-13 is a part of ISQ so quantity specifications should be in an `isq` namespace.
2024-09-28 15:06:22 +02:00
Mateusz Pusz 5a48f19746 feat: 💥 phase_velocity and group_velocity aliases removed from ISQ by ISO 2024-09-28 11:58:28 +02:00
Mateusz Pusz 1caa7b7406 feat: iec80000 namespace marked as deprecated 2024-09-26 10:22:43 +02:00
Mateusz Pusz dcab80525d refactor: 💥 common_XXX() functions renamed to get_common_XXX()
This is needed to release a name for `common_unit` type that is coming soon.
2024-09-24 09:36:59 +02:00
Mateusz Pusz 3671f64153 refactor: 💥 magnitudes code cleanup + mag_pi is now mag<pi> 2024-09-23 13:42:39 +02:00
Mateusz Pusz 7a83c2b391 feat: iec::var unit added 2024-09-20 10:57:23 -06:00
Mateusz Pusz e92178abef refactor: 💥 iec80000 system renamed to iec 2024-09-20 10:01:32 -06:00
Mateusz Pusz 696f789e77 fix: complex_power & co fixed 2024-09-19 21:43:19 -06:00
Jonas Hoppe f651438f29 [clang-format] 2024-09-10 09:58:05 +02:00
Jonas Hoppe aebf55c09a Revert "Merge branch 'master-msvc-194-only-lib' into master-msvc-194"
This reverts commit e3034c5554, reversing
changes made to 8be458b0b7.
2024-09-09 12:10:39 +02:00
Jonas Hoppe 1d0dbf48b1 Merge remote-tracking branch 'mpusz/master' into master-msvc-194 2024-09-09 12:05:19 +02:00
Mateusz Pusz 7eb9b764bd fix: workarounds for not-working CWG2387 2024-09-05 22:05:35 +02:00
Mateusz Pusz 45013f6752 fix: inline restored for non-template constexpr global variables 2024-09-05 10:06:43 +02:00
Mateusz Pusz 2e840cfdb4 refactor: Repetitive inline constexpr removed as no longer needed
Not needed anymore as stated in cplusplus/draft#4601
2024-09-05 08:43:36 +02:00
Jonas Hoppe 93af5db137 [clang-format] 2024-09-04 10:30:39 +02:00
Jonas Hoppe 712afc34b7 [PR] rename macros to match naming conventions for workaround 2024-09-04 09:37:41 +02:00
Jonas Hoppe d18bb28a25 [PR] remove MP_UNITS_TYPENAME 2024-09-04 09:32:21 +02:00
Jonas Hoppe 0b0d3345e5 [clang-format] 2024-09-03 13:17:44 +02:00
Jonas Hoppe a89bfc6c21 [hacks] add MP_UNITS_IS_VALUE 2024-09-03 12:14:42 +02:00
Jonas Hoppe 30ac2882bd [msvc][fix] a lot of brackets where msvc prefers
the type and not the value. (Issue reported)
2024-09-03 09:43:34 +02:00
Mateusz Pusz f0e19d004c fix: the remaining pascal macro conflicts fixed
Resolves #605
2024-08-25 17:31:58 +02:00
Mateusz Pusz 77625d63cb feat: 💥 unit_can_be_prefixed removed - from now on all named units can be prefixed
Resolves #604
2024-08-22 08:06:00 +02:00
Mateusz Pusz 27bd2690bd fix: preventing import std; in GMF 2024-07-16 20:50:04 +02:00
Mateusz Pusz b870b85c25 feat: import std; support added
Resolves #595
2024-07-16 17:36:00 +02:00
Mateusz Pusz 73f7901329 build: duplicated cmake_minimum_required commands removed
Resolves #592
2024-07-14 18:04:05 +02:00
Mateusz Pusz b5e8f2afcd fix: si.h and angular.h now properly include hacks.h to define MP_UNITS_HOSTED before its usage 2024-07-12 15:03:19 +02:00
Mateusz Pusz 5903e5661f refactor: 💥 quantity_point_like_traits now use numerical value instead of the quantity
Resolves #531
2024-07-04 16:40:40 +01:00
Mateusz Pusz b3cd2cf6e3 feat: text output for angular units improved (space before symbol removed) 2024-07-04 10:40:12 +01:00
Mateusz Pusz 70289048bd refactor: Unicode codepoints used for deg_C and deg_F text symbols 2024-06-30 17:14:37 +02:00
Mateusz Pusz ba8681f90b feat: 💥 delta and absolute construction helpers 2024-06-30 12:03:24 +02:00
Mateusz Pusz 4b46be7604 refactor: reference specifiers are now variable templates 2024-06-20 09:20:33 +02:00
Mateusz Pusz 5761deb1ba refactor: ice_point and zeroth_degree_Fahrenheit now use absolute reference specifier 2024-06-20 08:52:33 +02:00
Mateusz Pusz b38b23ece2 refactor: relative() renamed to delta() 2024-06-20 07:31:22 +02:00
Mateusz Pusz d03482fa1b feat: absolute and relative reference modifiers support added 2024-06-19 21:10:16 +02:00
Mateusz Pusz f49b4c6f5f refactor: compile-time optimizations reverted 2024-06-14 13:37:56 +02:00
Mateusz Pusz 05fc1e29c8 refactor: 💥 from now on point origins must be marked final + absolute_point_origin does not use CRTP anymore 2024-06-13 19:24:40 +02:00
Mateusz Pusz 6aa848a456 feat: 💥 from now on dimnensions have to be marked as final 2024-06-12 14:17:32 +02:00
Mateusz Pusz d87bb70063 fix: magnitude get_value fixed for clang-17 2024-06-07 09:41:13 +02:00
Mateusz Pusz e38c7c4460 refactor: magnitudes support refactored to improve compile-times 2024-06-06 20:58:15 +02:00
Mateusz Pusz 14a1801425 docs: copyright comments added to module files 2024-06-06 13:50:29 +02:00
Mateusz Pusz c69bd140b2 refactor: all units made final 2024-06-06 13:18:45 +02:00