Commit Graph

456 Commits

Author SHA1 Message Date
Mateusz Pusz
a931152285 refactor: refactor example to benefit from making si2019 inline 2026-01-18 16:42:41 +01:00
Mateusz Pusz
8d1a111728 feat: si2019 namespace made inline 2026-01-18 16:25:24 +01:00
Mateusz Pusz
9c5f2412bc refactor: 💥 international system renamed to yard_pound 2026-01-14 12:21:45 +01:00
Mateusz Pusz
9a374a5646 refactor: isq::time swapped with isq::duration 2026-01-09 09:22:37 +01:00
Mateusz Pusz
a2128c8eb1 docs: documentation-related comment added to total_energy example 2026-01-07 12:04:29 +01:00
Mateusz Pusz
e770a40910 feat: 💥 natural units reworked from scratch
`system_reference` and `AssociatedUnit` removed
2026-01-04 20:11:53 +01:00
Mateusz Pusz
6d10a154fa feat: 💥 pi and π is now a unit constant (pi magnitude constant renamed to pi_c) 2025-12-28 13:35:54 +01:00
Mateusz Pusz
381cb7b9b0 refactor(example): is_hae function refactored to HAEAltitude concept 2025-12-22 18:15:09 +01:00
Mateusz Pusz
c54d18e489 refactor(example): kalman filter examples refactored to better match their documentation 2025-12-16 13:27:48 +01:00
Mateusz Pusz
801d3cb681 fix(example): text formatting fixed for glide_computer 2025-12-16 08:47:06 +01:00
Mateusz Pusz
c0939d0c04 fix(example): value truncation warnings silenced for measurement 2025-12-14 18:17:40 +01:00
Mateusz Pusz
cd6d27104e style: pre-commit 2025-12-13 16:51:42 +01:00
Mateusz Pusz
37f4a57495 fix: VERIFY_INTERFACE_HEADER_SETS fixed for example_utils-headers target 2025-12-13 16:34:09 +01:00
Mateusz Pusz
472d3a4fb0 refactor(example): slight refactoring of examples while working on their documentation 2025-12-13 13:21:47 +01:00
Mateusz Pusz
04c0822ffb feat(example): clcpp_response and conversion_factor examples removed 2025-12-13 13:19:38 +01:00
Mateusz Pusz
4d8726fd87 feat(example): measurement.h extracted for easier reuse 2025-12-13 13:18:59 +01:00
Mateusz Pusz
2a2a53d5e8 build: projectPrefix CMake variable removed 2025-11-02 15:08:20 -08:00
Mateusz Pusz
0350cb4500 fix: MSVC compilation fixed 2025-09-16 19:51:19 -06:00
Mateusz Pusz
e058a47baf feat: natural units support is now opt-in 2025-07-09 20:05:03 +02:00
Mateusz Pusz
35798a0f39 refactor: ostream.h header file made deprecated 2025-06-20 10:40:10 +02:00
Mateusz Pusz
50c05bddb3 refactor: format.h header file made deprecated 2025-06-20 09:06:49 +02:00
Mateusz Pusz
f7fc8dd715 Revert "refactor(example): explicit conversions added for ranged_representation arguments"
This reverts commit 0811ca92e1.
2025-04-03 08:17:54 +01:00
Mateusz Pusz
0811ca92e1 refactor(example): explicit conversions added for ranged_representation arguments 2025-04-03 08:00:09 +01:00
Mateusz Pusz
6a9f883335 refactor: deprecated literal operators 2025-03-19 12:31:37 +01:00
Mateusz Pusz
47a82f466c refactor: scalar and complex renamed to real_scalar and complex_scalar respectively + concepts refactoring + electromagnetism fixes 2025-02-11 17:26:19 +01:00
Mateusz Pusz
06cbfae3b3 feat: quantity_spec conversions improved 2024-12-28 14:02:03 +01:00
Mateusz Pusz
465f88d500 refactor: 💥 is_XXX customization points for representation types removed 2024-11-26 14:48:08 +01:00
Mateusz Pusz
b77aa52355 refactor: absolute renamed to point
Resolves #645
2024-11-24 14:19:16 +01:00
Mateusz Pusz
51f2539fae build: MP_UNITS_DEV_TIME_TRACE CMake option added 2024-11-17 13:35:12 +01:00
Mateusz Pusz
7b64b4b650 refactor: 💥 from now unit_symbol and dimension_symbol always returns std::string_view 2024-11-16 09:57:53 +01:00
Mateusz Pusz
1ee824423e refactor: usage of v for the function argument name changed to prevent shadowing errors 2024-11-12 16:22:14 +01:00
Mateusz Pusz
5ddbd62ea4 feat(example): is_vector specialization no longer needed for si_constants 2024-11-12 14:19:39 +01:00
Mateusz Pusz
6896d8e086 fix: velocity is now defined in terms of displacement instead of position_vector 2024-11-06 18:46:01 +01:00
Mateusz Pusz
5810420277 refactor: 💥 tag types should not expose their members 2024-11-04 09:40:25 +01:00
Mateusz Pusz
76057eaf7c feat(example): treat_as_floating_point specializations for examples' types removed 2024-10-26 19:15:34 +02:00
Mateusz Pusz
4eb63227e2 refactor: 💥 ascii -> portable, unicode -> utf8, 'A' -> 'P' 2024-10-10 00:02:08 +02:00
Mateusz Pusz
4a98817c15 feat(example): currency example now uses chrono::time_point and has better interfaces 2024-10-01 19:53:02 +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
7e777f228a fix: hw_voltage compilation fixed on C++20 2024-09-17 17:11:33 -06:00
Mateusz Pusz
3ead7c2d52 feat: hw_voltage example added 2024-09-17 16:12:03 -06:00
Jonas Hoppe
4f4da588b1 [msvc][fix] remove MP_UNITS_CONSTRAINED_AUTO_WORKAROUND in example 2024-09-10 10:15:24 +02:00
Jonas Hoppe
413966efca [msvc][fix] revert changes in example and test folder 2024-09-10 10:03:37 +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
3174291f95 Merge branch 'master-msvc-194' into master-msvc-194-only-lib 2024-09-04 10:27:41 +02:00
Jonas Hoppe
8be458b0b7 [msvc] remove MP_UNITS_CONSTRAINED_AUTO_WORKAROUND 2024-09-04 10:19:15 +02:00