Commit Graph

70 Commits

Author SHA1 Message Date
Mateusz Pusz 478f86eedc feat(example): geographic.h now supports converting between bearing and azimuth 2026-05-13 19:00:22 +02:00
Mateusz Pusz 2978c1963f fix: missing constraints for qp.quantity_from_unit_zero() added + fixed all incorrect usa cases 2026-05-06 22:12:50 +02:00
Mateusz Pusz 1fed23f58c feat(example): bounds removed from equator and coordinates normalization added to position
Co-authored-by: Copilot <copilot@github.com>
2026-04-28 10:51:28 +02:00
Mateusz Pusz 0a33e0a0e6 refactor: quantity point bounds are now specified directly in origin - quantity_bounds_for customization point removed 2026-04-25 21:00:31 +02:00
Mateusz Pusz 459211fc7a feat: quantity point bounds design finalized 2026-04-03 23:38:47 +02:00
Mateusz Pusz 26fc830903 fix: stop to use deprecated quanity_from_zero 2026-03-31 22:54:22 +02:00
Mateusz Pusz 16056181ce feat: range checking for points added 2026-03-30 21:39:06 +02:00
Mateusz Pusz 16cdd23e04 style: pre-commit rules updated 2026-03-27 22:49:05 +00:00
Mateusz Pusz 6f3ef66d4b feat: comparisons against literal 0
Resolves #487
2026-02-23 11:07:22 +01:00
Mateusz Pusz b2904cbde2 feat: improve type conversions to raise compile-time warnings on truncation
Resolves #762
2026-02-11 20:12:33 +01:00
Mateusz Pusz d194af7b97 fix: some stupid MSVC errors workarounds 2026-02-04 23:06:03 +01:00
Mateusz Pusz c0939d0c04 fix(example): value truncation warnings silenced for measurement 2025-12-14 18:17:40 +01:00
Mateusz Pusz 4d8726fd87 feat(example): measurement.h extracted for easier reuse 2025-12-13 13:18:59 +01: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 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 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 76057eaf7c feat(example): treat_as_floating_point specializations for examples' types removed 2024-10-26 19:15:34 +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
Mateusz Pusz b870b85c25 feat: import std; support added
Resolves #595
2024-07-16 17:36:00 +02:00
Mateusz Pusz 47c5563e16 refactor: deleted function not needed in validated_type 2024-06-22 18:58:22 +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 e90cffcbda refactor: text formatting library header files are no longer included in compat_macros.h 2024-06-10 22:04:41 +02:00
Mateusz Pusz ed53cf03f0 refactor: contract support library header fles are no longer included in compat_macros.h 2024-06-10 22:00:46 +02:00
Mateusz Pusz a6562acde5 feat: allow configuring GSL library use
Resolves #576
2024-05-30 12:23:14 +02:00
Mateusz Pusz 75f719add7 refactor: code refactored to comply with clang-tidy 2024-05-08 11:12:38 +02:00
Mateusz Pusz 8ea346be1c refactor: 💥 header files with the entire system definitions moved up in the directory tree 2024-04-25 16:34:11 +02:00
Mateusz Pusz c066104af7 refactor: 💥 framework.h introduced + IWYU 2024-04-24 21:09:29 +02:00
Mateusz Pusz be317116fc refactor: missing header files included 2024-02-23 14:06:53 +01:00
Mateusz Pusz a9deec9d59 refactor: example applications refactored to a new formatting syntax 2024-01-23 21:49:17 +01:00
Mateusz Pusz a7cb512f87 fix: modules build fixed 2024-01-06 08:51:01 +01:00
Mateusz Pusz fb8552b1d9 refactor: core-fmt and core-ostream modules merged with core 2024-01-06 08:51:01 +01:00
Mateusz Pusz 0eaf6e2e56 refactor: modules support redesigned 2024-01-06 08:51:01 +01:00
Johel Ernesto Guerrero Peña 7cb2099af5 feat: add module mp_units 2024-01-06 08:51:00 +01:00
Mateusz Pusz 6324f6dc2a Merge pull request #522 from mpusz/implicit_point_origin
feat: implementation of implicit point origins
2023-12-26 11:09:43 +01:00
Mateusz Pusz 7f0e7f8ca8 refactor: 💥 SI-related trigonometric functions moved to the si subnamespace 2023-12-26 09:31:11 +01:00
Mateusz Pusz f2abaa28bc feat: quantity_from_zero() enabled for absolute point origins 2023-12-22 16:41:14 +01:00
Mateusz Pusz 4192e1edea style: formatting changed to make pre-commit happy 2023-12-08 12:54:36 +01:00
Mateusz Pusz da8721b997 feat: users are now allowed to inherit their ow types from absolute point origins 2023-12-03 16:15:38 +01:00
Mateusz Pusz b96be72457 feat: 💥 quantity_point does not provide zero() anymore 2023-10-15 09:39:18 +02:00
Mateusz Pusz 00a2bce0e8 fix(example): latitude and longitude fixed to include 0 for N and E respectively 2023-10-03 11:00:33 -06:00
Mateusz Pusz e085beef40 feat: qp.quantity_from(PO) added 2023-09-13 11:57:22 +02:00
Mateusz Pusz 3b2ca4084a refactor: quantity_point::quantity_from_origin() refactored to quantity_point::quantity_ref_from(PO)
Resolves #479 and relates to #477
2023-09-13 10:09:08 +02:00
Mateusz Pusz cbcc6f4627 feat: compare.h header added with checks against zero
Resolves #487
2023-09-13 08:55:06 +02:00
Mateusz Pusz d7261c8f76 fix(example): treat_as_floating_point specified for validated_type and ranged_representation 2023-09-04 12:30:14 +02:00