Commit Graph

  • 6d82ddebbc Update test/unit_test/static/quantity_kind_test.cpp Mateusz Pusz 2022-03-18 08:21:15 +01:00
  • 6531d188d1 Update src/core/include/units/quantity.h Mateusz Pusz 2022-03-18 08:20:43 +01:00
  • f4fbac86b4 Update src/core/include/units/quantity.h Mateusz Pusz 2022-03-18 08:20:36 +01:00
  • 03290d74a2 Update src/core/include/units/quantity.h Mateusz Pusz 2022-03-18 08:20:27 +01:00
  • 6e59e7a927 Update src/core/include/units/quantity.h Mateusz Pusz 2022-03-18 08:20:08 +01:00
  • c6f35b0231 Update src/core/include/units/quantity_cast.h Mateusz Pusz 2022-03-18 08:19:40 +01:00
  • 144f6951c0 style: all files refromatted with clang-format Mateusz Pusz 2022-03-17 23:59:48 +01:00
  • a2f28feb04 Merge pull request #338 from hofbi/contributing-md-typos Mateusz Pusz 2022-03-17 18:12:53 +01:00
  • c3ff6a22d2 docs: fix typos in contributing.md Markus Hofbauer 2022-03-17 15:35:07 +01:00
  • cc90985958 fix: Clang-12 compilation fixed Mateusz Pusz 2022-03-15 13:14:15 +01:00
  • 7730e76fb7 build: test_package/conanfile.py cleanup Mateusz Pusz 2022-03-14 19:27:25 +01:00
  • 211a11b7c9 build: conanfile.py cleanup Mateusz Pusz 2022-03-14 19:26:43 +01:00
  • 627b2fb6d0 build: MSVC version handling fixed Mateusz Pusz 2022-03-14 19:25:59 +01:00
  • 87073856a7 Try upping the basis size further Chip Hogg 2022-03-12 18:50:01 +00:00
  • a719a8b912 Try upping the basis size Chip Hogg 2022-03-11 03:57:21 +00:00
  • 70640a1017 Remove constexpr-incompatible assert() Chip Hogg 2022-03-11 03:56:57 +00:00
  • 59d9cd1407 static_cast for first factor Chip Hogg 2022-03-11 03:50:08 +00:00
  • bfa8db6139 Use std::accumulate Chip Hogg 2022-03-11 03:48:57 +00:00
  • 73a56115a1 Fix wheel factorization algorithm Chip Hogg 2022-03-11 03:42:19 +00:00
  • 6c73947fe0 Satisfy complaint Chip Hogg 2022-03-10 23:50:33 +00:00
  • c8a44adee2 Add missing header for std::integral Chip Hogg 2022-03-10 23:41:47 +00:00
  • 24b284fcbb Add tests to support claims in comment Chip Hogg 2022-03-10 23:41:36 +00:00
  • 04b80f0827 Use wheel factorization for prime numbers Chip Hogg 2022-03-10 23:29:02 +00:00
  • 2198c8a403 Merge pull request #334 from JohelEGP/ratio_maths_unused_header Mateusz Pusz 2022-03-10 21:43:04 +01:00
  • 1b9d680275 Merge pull request #335 from JohelEGP/non_static_constexpr_globals Mateusz Pusz 2022-03-10 21:23:00 +01:00
  • 72046b0fe7 refactor: drop static from constexpr globals Johel Ernesto Guerrero Peña 2022-03-08 22:12:21 -04:00
  • 6193854f31 Merge pull request #333 from chiphogg/chiphogg/intmax Mateusz Pusz 2022-03-10 19:29:23 +01:00
  • a5fff2f210 Merge branch 'master' of github.com:mpusz/units Mateusz Pusz 2022-03-10 19:05:41 +01:00
  • 6171b8ab69 docs: Outdated TODO comments removed Mateusz Pusz 2022-03-10 19:05:36 +01:00
  • 74e6cf8def Merge pull request #336 from JohelEGP/unused_header_quantity_cast Mateusz Pusz 2022-03-10 19:01:50 +01:00
  • ce8fbcaf6c build: conanfile.py updated Mateusz Pusz 2022-03-10 18:55:40 +01:00
  • eee4f7d49c refactor: remove unused header Johel Ernesto Guerrero Peña 2022-03-09 20:23:21 -04:00
  • b52da14e36 refactor(bits): remove unused header Johel Ernesto Guerrero Peña 2022-03-08 20:38:07 -04:00
  • 7cda52af55 Merge branch 'master' into chiphogg/intmax Chip Hogg 2022-03-01 02:30:13 +00:00
  • 5668257fe1 build: Conan geerated target renamed to wg21_linear_algebra Mateusz Pusz 2022-02-28 19:23:34 +01:00
  • 87ab85625b The latest Conan generates Catch2 CMake target Mateusz Pusz 2022-02-28 18:27:03 +01:00
  • 0a6d11cf27 Depracated build_requires(..., force_host_context=True) replaced with test_requires(...) Mateusz Pusz 2022-02-28 18:25:20 +01:00
  • 632f2785a9 Clarify section header Chip Hogg 2022-02-24 01:48:02 +00:00
  • 240bdd659c Use intmax for base of integral powers Chip Hogg 2022-02-21 22:53:08 +00:00
  • 3651e199bf Merge pull request #331 from JohelEGP/llvm15 Mateusz Pusz 2022-02-08 10:40:31 +01:00
  • 1a5341141a Merge pull request #329 from chiphogg/mag-value-t Mateusz Pusz 2022-02-08 10:39:31 +01:00
  • 3f145a25db refactor: update hacks for LLVM 15 Johel Ernesto Guerrero Peña 2022-02-07 21:07:22 -04:00
  • 7820b3ef92 Clean up a few requires clauses Chip Hogg 2022-02-06 22:11:42 +00:00
  • a0ae08746f Restore mistakenly removed comment Chip Hogg 2022-02-06 21:56:00 +00:00
  • 7e4ab4206f Remove .value; provide free function only Chip Hogg 2022-02-06 21:53:05 +00:00
  • 7615de4720 See if passing by const& will satisfy all compilers Chip Hogg 2022-02-06 21:06:53 +00:00
  • e5f74b85ce Merge pull request #330 from fdischner/apple_ci Mateusz Pusz 2022-02-01 09:50:20 +01:00
  • 8accecb15c ci: Apple clang 13 support added for Conan Frank Dischner 2022-01-29 12:12:09 -06:00
  • aba980290b ci: explicitly set used xcode version Frank Dischner 2022-01-29 11:56:35 -06:00
  • 4ae66aafb1 ci: Apple clang 13 support added to "CMake Test Package CI" Frank Dischner 2022-01-29 11:25:32 -06:00
  • 9593ca04d7 Refer to class instead Chip Hogg 2022-01-29 03:47:16 +00:00
  • 408ad16528 Spell out fold expression, again Chip Hogg 2022-01-29 03:19:30 +00:00
  • dfe3db0b70 Merge branch 'master' into mag-value-t Chip Hogg 2022-01-29 02:49:19 +00:00
  • b36bc2b582 Turn get_value into free function Chip Hogg 2022-01-29 02:40:51 +00:00
  • d6eb25f07a Attempt to satisfy MSVC 14 Chip Hogg 2022-01-28 22:42:23 +00:00
  • 811b6ba53d Try inlining the fold expression to satisfy (?) MSVC Chip Hogg 2022-01-28 22:24:30 +00:00
  • 2384276ae0 Only test pi if float is smaller than long double Chip Hogg 2022-01-28 20:44:29 +00:00
  • 243238b3fa Add suggested tests Chip Hogg 2022-01-28 20:41:08 +00:00
  • f2ba3cc18a Use in_range for integer case Chip Hogg 2022-01-28 20:32:47 +00:00
  • e3a790667d Guessing at what MSVC wants Chip Hogg 2022-01-28 20:13:35 +00:00
  • 4c9a2c5c5c Remove unsupported consteval Chip Hogg 2022-01-28 19:52:35 +00:00
  • ed351a4ba3 Avoid needing class to be completed Chip Hogg 2022-01-28 19:34:50 +00:00
  • a6b6afe438 Add value and categorization helpers for Magnitude Chip Hogg 2022-01-28 19:06:26 +00:00
  • ee10be7535 Merge pull request #327 from fdischner/apple_clang Mateusz Pusz 2022-01-28 09:53:41 +01:00
  • ad48d29ed9 docs: add Apple clang 13 to list of supported compilers Frank Dischner 2022-01-27 21:31:25 -06:00
  • bd92f9cf28 build: AppleClang requires fmt 8.1.1 with C++20 Frank Dischner 2022-01-26 18:22:54 -06:00
  • 771a400007 build: add support for AppleClang compiler Frank Dischner 2022-01-26 18:18:51 -06:00
  • ba6c378897 refactor: use libc++ version to determine range-v3 use Frank Dischner 2022-01-26 18:16:05 -06:00
  • cab5e8b2fd Merge branch 'master' of github.com:mpusz/units Mateusz Pusz 2022-01-25 13:30:10 +01:00
  • d7ee8f23a8 build: Conan finally fixed gsl-lite Mateusz Pusz 2022-01-25 13:30:01 +01:00
  • 30e3722d62 Merge pull request #326 from fdischner/fix_derived_unit Mateusz Pusz 2022-01-25 13:27:10 +01:00
  • 774dd91686 Add tests for FPS cubic yard Frank Dischner 2022-01-23 21:44:53 -06:00
  • 684ef13d95 fix: derived_ratio calculation Frank Dischner 2022-01-18 21:54:21 -06:00
  • 8493bf389e refactor: Forward declaration of as_magnitude() is not needed Mateusz Pusz 2022-01-18 12:16:18 +01:00
  • 30b7250033 Merge pull request #323 from chiphogg/add-magnitude Mateusz Pusz 2022-01-12 19:59:54 +01:00
  • 1c70b18709 Unify "H1 base smaller" test cases Chip Hogg 2022-01-12 10:47:59 -05:00
  • 038616c901 Try rearranging the order Chip Hogg 2022-01-12 10:11:50 -05:00
  • fb602a4497 Try fixing "unreachable code" warning on MSVC 14.2 Chip Hogg 2022-01-12 09:47:40 -05:00
  • d554fb28cc Try fixing MSVC internal compiler error Chip Hogg 2022-01-11 20:33:48 -05:00
  • a306472a6b Reuse callables in pairwise_all tests Chip Hogg 2022-01-11 19:44:10 -05:00
  • bdf488db04 Remove unnecessary forward declaration Chip Hogg 2022-01-11 19:34:57 -05:00
  • 08818ac6a8 Make pow()'s argument a simple (non-template) parameter Chip Hogg 2022-01-11 19:19:25 -05:00
  • a8d6c890a5 Move pi_to_the to the test file Chip Hogg 2022-01-11 19:12:27 -05:00
  • 3042135eb9 Try fixing clang build failures Chip Hogg 2022-01-11 12:56:14 -05:00
  • cee4be2b67 Simplify namespaces and canonicalize formatting Chip Hogg 2022-01-10 14:28:02 -05:00
  • 4f90302dd7 Constrain strictly_increasing to signed values Chip Hogg 2022-01-10 14:27:04 -05:00
  • c64f392dc3 Remove some extra spaces Chip Hogg 2022-01-10 14:23:44 -05:00
  • f783d7f274 Handle exp explicitly in as_magnitude() Chip Hogg 2022-01-08 19:34:42 -05:00
  • 409aaf4636 Generalize inverse() to pow<...>() Chip Hogg 2022-01-08 19:34:21 -05:00
  • 053de8d539 Replace structs with variables Chip Hogg 2022-01-08 18:34:14 -05:00
  • ba458d479e Fix remaining constraints Chip Hogg 2022-01-08 18:19:40 -05:00
  • 325cbc8fa9 Finish adding tests Chip Hogg 2022-01-08 18:14:22 -05:00
  • 41995464f0 Fix magnitude constraints Chip Hogg 2022-01-08 18:13:48 -05:00
  • f12fde6204 Add some tests Chip Hogg 2022-01-08 17:57:10 -05:00
  • 0a470f2617 Replace make_ratio with as_magnitude<ratio> Chip Hogg 2022-01-08 17:29:40 -05:00
  • ef6f937460 Clean up and reorder file Chip Hogg 2022-01-08 17:18:33 -05:00
  • 838b132a61 Finish migrating base_power to NTTP Chip Hogg 2022-01-08 15:08:05 -05:00
  • 9d48e6983a Refactor BasePower struct and concept Chip Hogg 2022-01-08 14:40:28 -05:00
  • 3063aebe5a Clean up pairwise_all() and strictly_increasing() Chip Hogg 2022-01-08 14:21:13 -05:00
  • 92b7a15d6f (partial) Switch base_power to NTTP Chip Hogg 2022-01-08 14:04:19 -05:00