Commit Graph

  • 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
  • 6033f96267 Enable implicit ratio construction Chip Hogg 2022-01-08 14:03:52 -05:00
  • 14d8d96b3c Replace static_assert with template parameter constraints Chip Hogg 2022-01-04 20:06:41 -05:00
  • 63910131ff Try fixing MSVC 14 bug Chip Hogg 2022-01-04 14:14:22 -05:00
  • 4246f2db2a Remove unused variable names Chip Hogg 2022-01-04 14:01:42 -05:00
  • bb4fe5040d Factor out logic into pairwise_all() helper Chip Hogg 2022-01-03 15:20:05 -05:00
  • cef01ba67c Remove redundant inline specifiers Chip Hogg 2021-12-31 09:54:10 -05:00
  • 998266e780 Try fixing MSVC 14.2 Chip Hogg 2021-12-31 09:35:30 -05:00
  • 626c7bfe39 Fix up for review Chip Hogg 2021-12-30 10:47:01 -05:00
  • 05934c8b72 Add make_base_power() helper Chip Hogg 2021-12-29 21:37:06 -05:00
  • c75eb02ea7 Finish fleshing out make_ratio Chip Hogg 2021-12-29 21:10:29 -05:00
  • 8a1ed3adcb Add make_ratio() helper and prime factorization Chip Hogg 2021-12-29 20:56:10 -05:00
  • a86cac8705 Capitalize more template arguments Chip Hogg 2021-12-29 20:53:55 -05:00
  • 2c229710e7 Create and use BasePower concept Chip Hogg 2021-12-29 19:24:24 -05:00
  • 4f759f95e8 Use Magnitude concept where appropriate Chip Hogg 2021-12-29 11:44:22 -05:00
  • 0566158e91 Add concept for magnitude Chip Hogg 2021-12-29 11:38:56 -05:00
  • 0c5ae082d5 Add magnitude with product, inverse, quotient Chip Hogg 2021-12-29 07:51:44 -05:00
  • a80378cae8 Support addition and negation in ratio Chip Hogg 2021-12-29 07:51:16 -05:00
  • 3bf3bebb6a build: export config to local build (#322) Johel Ernesto Guerrero Peña 2021-12-13 10:16:08 -04:00
  • a6a2549fe7 build: MSVC versioning updated according to the latest Conan support Mateusz Pusz 2021-12-13 12:29:01 +01:00
  • 0a5e791550 docs: range-v3 dependency note fixed on the usage page Mateusz Pusz 2021-12-13 10:20:12 +01:00
  • 4efed3c6d4 refactor: update Clang 14 to not require range-v3 (#321) Johel Ernesto Guerrero Peña 2021-12-13 05:01:16 -04:00
  • eb94f1cc0e ci: Conan MSVC 14.2 support fixed Mateusz Pusz 2021-12-13 09:28:33 +01:00
  • 511280d250 ci: MSVC support updated to conform to new Conan versioning for this compiler Mateusz Pusz 2021-12-12 18:38:49 +01:00
  • ab351433ee docs: typo fixed Mateusz Pusz 2021-11-26 10:30:20 +01:00
  • 571df5ed33 feat: conversion from quantity_point to std::chrono::time_point added Mateusz Pusz 2021-11-23 14:37:08 +01:00
  • af928dd0c7 feat: conversion helpers from mp-units to std::chrono types added Mateusz Pusz 2021-11-23 11:17:47 +01:00
  • 163a2502ad fix: account for an empty string in VS2022 Mateusz Pusz 2021-11-16 10:51:04 +01:00
  • f6250d69e1 ci: VS2019 configuration restored Mateusz Pusz 2021-11-16 09:19:10 +01:00
  • e3f0d5f3dc build: fmt::fmt dependency added only when needed Mateusz Pusz 2021-11-16 08:34:56 +01:00
  • 0de7991375 ci: switching to Windows 2022 for MSVC 19.30 Mateusz Pusz 2021-11-15 19:50:18 +01:00
  • 1f7c72b4af ci: setting of a Visual Studio version for MSVC toolchain added Mateusz Pusz 2021-11-15 19:39:22 +01:00
  • 4320e674c8 build: msvc compiler validation fixed Mateusz Pusz 2021-11-15 19:17:18 +01:00
  • 4cd90674d5 Feat: Round (#313) Markus Hofbauer 2021-11-15 18:53:15 +01:00
  • 0d16427116 ci: trying to add MSVC 19.30 support Mateusz Pusz 2021-11-15 17:50:54 +01:00
  • e19b9e93e9 test: forgot to change the other preprocessor check as well Mateusz Pusz 2021-11-15 17:41:02 +01:00
  • d6bb6c8bc9 test: fmt test compilation on VS2019 fixed Mateusz Pusz 2021-11-15 17:12:44 +01:00
  • 7bf06e2b91 fix: const_iterator replaced back with iterator in formatter Mateusz Pusz 2021-11-15 16:52:22 +01:00
  • 6f38e77426 test: [fmt] unit test fixed for std::format in VS2022 Mateusz Pusz 2021-11-15 16:36:09 +01:00
  • 0ce18dc3c7 feat: std::format usage enabled for VS2022 Mateusz Pusz 2021-11-15 16:28:26 +01:00
  • 57ec615d79 fix: VS2022 issues related to the std::string_view iterator fixed Mateusz Pusz 2021-11-15 13:57:47 +01:00
  • a09cef4a3f fix: fix VS2022 shadowing issues Mateusz Pusz 2021-11-15 13:46:24 +01:00
  • 50b9050d6b Feat: Overloads for floor and ceil accepting quantities (#314) Markus Hofbauer 2021-11-15 12:23:28 +01:00
  • 3f28b55ab1 refactor: more constraints added to floor and ceil Mateusz Pusz 2021-11-13 21:53:53 +01:00
  • b881b56480 feat: first draft ceil Markus Hofbauer 2021-11-13 12:51:04 +01:00
  • e82bfa23a5 Feat: Floor (#309) Markus Hofbauer 2021-11-13 12:17:43 +01:00
  • 331024a199 refactor: simplified formatting of latitude and longitude Mateusz Pusz 2021-11-11 07:45:46 +01:00
  • 3c2b705ded Revert "refactor: got rid of CRTP for latitude and longitude" Mateusz Pusz 2021-11-10 19:45:39 +01:00
  • 65fed78c98 refactor: got rid of CRTP for latitude and longitude Mateusz Pusz 2021-11-10 19:44:22 +01:00
  • c950a513a4 refactor: latitude and longitude simplified Mateusz Pusz 2021-11-10 19:02:08 +01:00
  • 6e6c5c281a feat: math functions can now be safely used with user-defined types Mateusz Pusz 2021-11-09 19:26:26 +01:00
  • 506408a316 fix: fmt_test compilation fixed Mateusz Pusz 2021-11-08 19:05:08 +01:00
  • d5f9c6b988 Merge branch 'master' of github.com:mpusz/units Mateusz Pusz 2021-11-08 18:37:44 +01:00
  • 9f95799288 refactor: got rid of FMT_RUNTIME() as it is not the part of C++20 Mateusz Pusz 2021-11-08 18:37:37 +01:00
  • 44a8d0ad1e build: forgot to commit changes in one CMake file :-( Mateusz Pusz 2021-11-07 09:42:15 +01:00
  • cbed8b06b8 docs: fexed broken link to LA library Mateusz Pusz 2021-11-07 09:19:00 +01:00
  • 212c9e05f2 build: check_libcxx_in_use() fixed Mateusz Pusz 2021-11-06 10:35:44 +01:00
  • 7006dfcafb build: Sphinx documentation install step refactored Mateusz Pusz 2021-11-05 23:55:24 +01:00
  • ec6b625135 build: units_as_system renamed to unitsAsSystem Mateusz Pusz 2021-11-05 23:36:14 +01:00
  • f9fb6cc8b3 build: projectPrefix usage added Mateusz Pusz 2021-11-05 23:25:20 +01:00