Commit Graph
1944 Commits
Author SHA1 Message Date
Yves Delley 02f6f36aeb one more attempt at fixing the MSVC failures 2022-12-31 12:51:30 +01:00
Yves Delley b6da63b2f0 refactor macros to start with UNITS_ and fix an MSVC issue with FMT_THROW 2022-12-30 17:22:04 +01:00
Yves Delley c346ee123a add missing throws in format.h; undo change to core.h 2022-12-13 18:03:20 +01:00
Yves Delley 4603d24f2c recfactor: use FMT_THROW inside fmt.h to make code embedded-friendly 2022-12-13 17:45:00 +01:00
Mateusz Pusz 02d6e104f0 ci: Gitpod configuration updated 2022-12-08 14:40:19 +01:00
Mateusz Pusz c003f5d604 ci: GitHub Actions updated 2022-12-01 20:38:11 +01:00
Mateusz Pusz 60cec6020b fix: MSVC-193 compilation issue workaround
Closes #403
2022-12-01 20:15:52 +01:00
Mateusz Pusz 91eebd0b75 Merge pull request #404 from hofbi/pre-commit-autoupdate
Pre-commit autoupdate and enable clang-format
2022-11-24 09:15:51 -07:00
Markus Hofbauer ca9c880c50 apply clang format 2022-11-17 16:25:58 +01:00
Markus Hofbauer 2f98f19c69 enable clang format in pre-commit 2022-11-17 16:25:50 +01:00
Markus Hofbauer 7b78ffb686 pre-commit autoupdate 2022-11-17 15:55:21 +01:00
Mateusz Pusz 3c890fb6d9 Merge pull request #399 from TheCoconutChef/missing-fixes-for-division-op-in-gcc11
fix: constraint recursion for gcc11 on operator/
2022-10-21 02:14:48 -06:00
TheCoconutChef 136af48e70 fix: constraint recursion for gcc11 on operator/
A similar fix was applied in 417f842585
for the operator*.

Following discussion in https://github.com/mpusz/units/issues/398, it
seems appropriate to apply it for operator/.

Other operators (+, -, %) do not seem to suffer from the same problem.
2022-10-20 12:00:18 -04:00
Mateusz Pusz 7046b319dc docs: broken link fixed 2022-10-08 12:15:59 +01:00
Mateusz Pusz 21e5dda5b7 build(example): gitpod support fixed 2022-10-04 00:15:06 +01:00
Mateusz Pusz bf8aad46ec build: gitpod conan profile for clang14 fixed 2022-10-03 20:18:30 +01:00
Mateusz Pusz d6cf793682 build: clang-12 is not supported in jammy 2022-10-03 20:08:44 +01:00
Mateusz Pusz 6d78ad8646 build: gitpod support updated 2022-10-03 17:34:05 +00:00
Mateusz Pusz cd52588f56 build: GitPod script updated 2022-10-03 17:45:58 +01:00
Mateusz Pusz 7c02da50d8 fix(example): clang-15 compilation fixed 2022-10-03 18:32:47 +02:00
Mateusz Pusz 6b98671a9f Merge branch 'master' of github.com:mpusz/units 2022-10-03 15:16:23 +02:00
Mateusz Pusz 645aeed371 ci: clang-15 added to CI 2022-10-03 15:16:18 +02:00
Mateusz Pusz aeb82a9596 Merge pull request #394 from JohelEGP/llvm16
refactor: make typename optional for Clang 16
2022-10-02 03:59:01 -06:00
Johel Ernesto Guerrero Peña a4183739ad refactor: make typename optional for Clang 16 2022-10-01 10:12:35 -04:00
Mateusz Pusz 5d23567bec feat(example): experimental_angle example replaced 2022-09-15 12:00:13 -06:00
Mateusz Pusz 6bc54819f3 fix: 💥 standard_gravity removed from si2019 namespace as it is not an SI defining constant 2022-09-15 11:49:37 -06:00
Mateusz Pusz c96e88e1be Merge branch 'master' of github.com:mpusz/units 2022-09-12 18:00:36 -06:00
Mateusz Pusz 8cd19e4022 Merge pull request #393 from chiphogg/chiphogg/terminator
Replace compile-time exceptions with terminations
2022-09-11 18:45:41 -06:00
Chip Hogg 06b3a64252 Replace compile-time exceptions with terminations
This appears to cause problems under `-fno-exceptions` in some rare instances.

Should fix #390.
2022-09-12 00:34:45 +00:00
Mateusz Pusz 22c26e62c6 refactor: prefixes refactored to benefit from mag_power() 2022-09-11 19:47:31 +02:00
Mateusz Pusz 3480d309c3 chore: Chip Hogg (@chiphogg) added as a co-author of the library 🎉 2022-09-09 08:38:16 +02:00
Mateusz Pusz 6bccc57800 docs: angular units chapter updated with a code example 2022-09-08 06:51:43 +02:00
Mateusz Pusz fc849fe7fe style: trailing whitespaces removed to make pre-comit happy 2022-09-07 10:42:34 +02:00
Mateusz Pusz d0eceefe80 refactor: dead ratio code removed 2022-09-06 23:49:16 +02:00
Mateusz Pusz 1238cc17c2 refactor: treat_as_floating_point constraint added for Rep in the trigonometric functions 2022-09-05 12:20:57 +02:00
Mateusz Pusz abc429a71a refactor: rotation angle unit renamed to revolution 2022-09-05 12:12:12 +02:00
Mateusz Pusz 520c944971 feat: 💥 reduced_planck constant removed as it is unclear if it should be angular or not (leave the choice to the user) 2022-09-03 12:29:58 +02:00
Mateusz Pusz bb453e4a8a feat: cotes_angle constant added 2022-09-03 12:28:38 +02:00
Mateusz Pusz f34282811d docs: angular quantities documentation improved 2022-09-03 12:28:21 +02:00
Mateusz Pusz 1a0a55d3d2 docs: Angular Units clean up to make pre-commit happy 2022-09-02 20:13:55 +02:00
Mateusz Pusz 8a87061c3a docs: Angular Units chapter added 2022-09-02 20:09:50 +02:00
Mateusz Pusz 1b3750c68b docs: mag_pi constant refence fixed in the magnitude documentation 2022-09-02 20:09:14 +02:00
Mateusz Pusz 89a9551da0 feat(example): asin() usage added to the glide computer example 2022-09-02 20:08:14 +02:00
Mateusz Pusz 2293bec950 docs: Info added on how to use CMake Presets on an older cmake version 2022-09-02 17:09:58 +02:00
Mateusz Pusz a39a49c147 test: VS2019 compilation fixed 2022-09-02 10:21:58 +02:00
Mateusz Pusz 396d39c35b test: AlmostEqualsMatcher compilation fixed 2022-09-01 17:18:02 +02:00
Mateusz Pusz a95cb53f73 test: unit tests for trigonometric functions added 2022-09-01 16:25:33 +02:00
Mateusz Pusz 9ae3403b18 feat: trigonometric functions on quantities support added 2022-09-01 16:25:11 +02:00
Mateusz Pusz 65b51a2d26 chore: symbolic link to CHANGELOG added again 2022-09-01 16:20:23 +02:00
Mateusz Pusz 707b39f0c4 build: catch2 updated to 3.1.0 2022-09-01 16:19:51 +02:00