4839 Commits

Author SHA1 Message Date
Mateusz Pusz 1fe1caaeca docs: parenthesis added for paper number link in README 2026-05-04 10:59:47 +02:00
Mateusz Pusz 452b7cf11b docs: P3045 mentioned in the "Overview" chapter of README file 2026-05-04 10:52:39 +02:00
Mateusz Pusz 2c1d118fec Merge branch 'master' of github.com:mpusz/units 2026-05-04 10:50:29 +02:00
mpusz 8a7975e0a6 docs: update contributors list 2026-05-01 13:48:03 +02:00
Mateusz Pusz 150f96e94a style: pre-commit 2026-05-01 13:16:42 +02:00
Mateusz Pusz 83035c1a8a feat: enhance conversion checks for named quantities with equations 2026-05-01 11:42:13 +02:00
Mateusz Pusz b12fe30925 feat: non-negativity can't be determined from the equation 2026-05-01 11:41:12 +02:00
Mateusz Pusz 529c655e18 feat: non_negative tags added to some dimensionless quantities 2026-04-30 16:26:57 +02:00
Mateusz Pusz 0de0438d76 docs: '?' removed from headers with nominal clauses 2026-04-30 15:57:07 +02:00
Mateusz Pusz 423db353e1 feat(example): currency example improved
Co-authored-by: Copilot <copilot@github.com>
2026-04-30 14:07:35 +02:00
Mateusz Pusz 81d7e2dfdf chore: CLAUDE.md added to .gitignore 2026-04-29 21:11:23 +02:00
Mateusz Pusz e73cef3194 style: pre-commit
Co-authored-by: Copilot <copilot@github.com>
2026-04-29 19:35:07 +02:00
Mateusz Pusz 42d78dd993 fix: equations within the same hierarchy are preffered instead of reportig cast right away 2026-04-29 19:34:31 +02:00
Mateusz Pusz 477b8eb7f1 docs: marking of subkinds in hierarchies changed to subgraphs
Co-authored-by: Copilot <copilot@github.com>
2026-04-29 19:20:14 +02:00
Mateusz Pusz ad042069da fix(test): time renamed to duration in natural_test 2026-04-29 17:22:55 +02:00
Mateusz Pusz 15417cb167 refactor(example): c should be a unit and not a quantity in the total_energy example
Co-authored-by: Copilot <copilot@github.com>
2026-04-29 16:24:33 +02:00
Mateusz Pusz c67cce9c0c feat: reduced_planck_constant added to SI constants 2026-04-29 16:19:32 +02:00
Mateusz Pusz 251a8fd132 feat: Natural Units support finalized
Co-authored-by: Copilot <copilot@github.com>
2026-04-29 16:16:25 +02:00
Mateusz Pusz 08ba2200eb docs: Users Guide index updated with safe_int
Co-authored-by: Copilot <copilot@github.com>
2026-04-28 21:32:00 +02:00
Mateusz Pusz 10978e582f docs: "Overview" chapter removed from the systems descriptions in the Users Guide 2026-04-28 21:25:16 +02:00
Mateusz Pusz c3d5fc6dbb docs: non_negative declarations added to quantity_spec in docs
Co-authored-by: Copilot <copilot@github.com>
2026-04-28 21:10:01 +02:00
René Paris df8c264e24 Fix quantity calculation from subtraction to addition 2026-04-28 19:33:36 +02:00
Mateusz Pusz 03e29615da refactor: quantity_point_iface introduced 2026-04-28 15:48:19 +02:00
Mateusz Pusz 0d4c326fa4 refactor: quantity_iface introduced
Co-authored-by: Copilot <copilot@github.com>
2026-04-28 15:26:11 +02:00
Mateusz Pusz 492e4587fe style: code formatting 2026-04-28 11:59:56 +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 810c5a9c41 docs: quantity point bounds documentation updated
Co-authored-by: Copilot <copilot@github.com>
2026-04-28 10:49:24 +02:00
Mateusz Pusz 7b2603a8ba docs: safe_int documentation improved 2026-04-27 23:28:12 +02:00
Mateusz Pusz 70eadc49ad feat: cross sign and cross error policy comparisons added for safe_int
Co-authored-by: Copilot <copilot@github.com>
2026-04-27 23:27:31 +02:00
Mateusz Pusz d96d977845 style: pre-commit 2026-04-27 18:43:39 +02:00
Mateusz Pusz 86afac81e1 fix: scaling algorithms fixed to work with CNL types
Resolves #791

Co-authored-by: Copilot <copilot@github.com>
2026-04-27 18:40:26 +02:00
Mateusz Pusz 9b1734e319 docs: "Representation Types" chapter contents restored
Co-authored-by: Copilot <copilot@github.com>
2026-04-27 14:37:47 +02:00
Mateusz Pusz 22f292a980 docs: nondimensionalization How-To Guide added
Co-authored-by: Copilot <copilot@github.com>
2026-04-27 13:15:54 +02:00
Mateusz Pusz eb5dfa62df feat: int128 types are now universally treated as integral on all platforms and safe_int depends on it
Co-authored-by: Copilot <copilot@github.com>
2026-04-27 13:00:04 +02:00
Mateusz Pusz 659738044a feat: safe_int implicit conversions improved and refactored the operators + widening for scaling now preserves sign
Co-authored-by: Copilot <copilot@github.com>
2026-04-26 16:03:09 +02:00
Mateusz Pusz 82304d87c4 style: pre-commit 2026-04-25 22:17:33 +02:00
Mateusz Pusz f664b5909b fix: cstdlib header added to constrained and safe_int to fix freestanding build 2026-04-25 22:14:24 +02:00
Mateusz Pusz 59e0dfe132 fix: custom is_scoped_enum_v implementation provided 2026-04-25 22:06:52 +02:00
Mateusz Pusz 81f8c3398c fix: missing quantity_traits.h added to CMake 2026-04-25 22:05:37 +02:00
Mateusz Pusz 1af417e90d fix: missing quantity_traits.h added to framework.h 2026-04-25 21:07:40 +02:00
Mateusz Pusz 2cce85b513 fix: duplicated definition of wider_int_for removed from scaling.h 2026-04-25 21:06:50 +02:00
Mateusz Pusz e3f8cc0dc4 docs: "Representation types" updated with the latest changes 2026-04-25 21:04:40 +02:00
Mateusz Pusz eb95325c33 feat: 💥 isq::depth removed 2026-04-25 21:03:51 +02:00
Mateusz Pusz 3506de9bf1 docs: GitHub discussion added to the hw_voltage example documentation 2026-04-25 21:01:05 +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 b9d801dc34 docs: representation types docs improved
Co-authored-by: Copilot <copilot@github.com>
2026-04-25 19:16:22 +02:00
Mateusz Pusz e1b36a09ee refactor: unit_for, reference_for, and rep_for moved to quantity_traits.h
Co-authored-by: Copilot <copilot@github.com>
2026-04-25 18:26:00 +02:00
Mateusz Pusz f26a3e8650 refactor: implicitly_scalable moved from value_cast.h to customization_points.h
Co-authored-by: Copilot <copilot@github.com>
2026-04-25 17:51:01 +02:00
Mateusz Pusz d505da1628 refactor: WeaklyRegular concept moved from customization_points.h to representation_concepts.h
Co-authored-by: Copilot <copilot@github.com>
2026-04-25 17:47:36 +02:00
Mateusz Pusz 08e1645dfe feat: UsesIntegerScaling now properly requires multiplication by a wider type 2026-04-25 12:52:05 +02:00