Commit Graph
3577 Commits
Author SHA1 Message Date
Yves Delley 3e502fb795 increase tolerance for certain math tests to two epsilon 2024-09-16 20:34:12 +02:00
Yves Delley add0a817e2 Merge branch 'mpusz:master' into improvement/test-on-arm64 2024-09-16 20:24:31 +02:00
Yves Delley 747086efce Merge branch 'master' into improvement/test-on-arm64 2024-09-16 17:30:53 +02:00
Mateusz Pusz 910f5d5395 Merge branch 'master' of github.com:mpusz/mp-units 2024-09-15 19:30:23 -06:00
Mateusz Pusz 78efb77b96 style: empty leading line removed from quantity.h 2024-09-15 19:30:13 -06:00
Mateusz Pusz 618b097c42 refactor: value_cast<Rep, U> now reuses value_cast<U, Rep> 2024-09-15 19:29:40 -06:00
Yves Delley 25534c6998 also run conan tests on macOS 14 (again, an example for arm64) 2024-09-15 18:34:28 +02:00
Yves Delley bd4a61d518 added test for upstream clang on macos-14, as an example for an arm64 platform 2024-09-15 18:24:09 +02:00
Mateusz Pusz 326837a04a Merge pull request #612 from burnpanck/bugfix/fix-611
Fixes #611
2024-09-15 08:52:16 +09:00
Yves Delley 9ca56f6911 avoid precision loss warning in magnitudes' root; fixes #611 2024-09-14 21:37:00 +02:00
Mateusz Pusz 0670fbdd9f feat: value_cast<Representation, Unit>() complementary conversion function added 2024-09-13 21:38:59 +02:00
Mateusz Pusz ae816a97fc docs: "Unit symbols" chapter added 2024-09-13 17:07:03 +02:00
Mateusz Pusz 93f41cf499 docs: Compiler Explorer link to basic operations example updated 2024-09-13 10:48:46 +02:00
Mateusz Pusz 866550eefc docs: MSVC compilation announced and its bugs listed on the compiler's conformance page 2024-09-10 21:00:30 +02:00
Mateusz Pusz 3e31067ce4 refactor: has_common_type_v simplified 2024-09-10 18:48:11 +02:00
Mateusz Pusz 8103a4039f fix: std::format does not have to use Char* as iterators 2024-09-10 18:43:19 +02:00
Mateusz Pusz 39d735fb2c Merge pull request #607 from czjhoppe/master-msvc-194-only-lib
[msvc] changes to make library compatible with msvc compiler (194)
2024-09-10 19:52:15 +09:00
Jonas Hoppe 329b17ec8c clang-format 2024-09-10 11:14:45 +02:00
Jonas Hoppe 5ecb6c295a [msvc][fix] add Todo comment for bug
https://developercommunity.visualstudio.com/t/Discrepancy-in-Behavior-of-operator-an/10732445
2024-09-10 11:01:15 +02:00
Jonas Hoppe 4f4da588b1 [msvc][fix] remove MP_UNITS_CONSTRAINED_AUTO_WORKAROUND in example 2024-09-10 10:15:24 +02:00
Jonas Hoppe 0532f41872 Merge branch 'master' into master-msvc-194-only-lib 2024-09-10 10:04:14 +02:00
Jonas Hoppe 413966efca [msvc][fix] revert changes in example and test folder 2024-09-10 10:03:37 +02:00
Jonas Hoppe f651438f29 [clang-format] 2024-09-10 09:58:05 +02:00
Jonas Hoppe ee4a7066ca [msvc][fix] remove MP_UNITS_IS_CONST_EXPR_WORKAROUND 2024-09-10 08:56:52 +02:00
Mateusz Pusz 32d4821f4a chore: Dockerfile updated for gitpod 2024-09-09 18:19:16 +00:00
Mateusz Pusz e792eb303c chore: .gitignore updated to account also for the docs/api_reference/gen symbolic link 2024-09-09 14:39:36 +02:00
Mateusz Pusz e42e568f44 fix: conversion operator to std::chrono types fixed
Resolves #609
2024-09-09 14:37:22 +02:00
Jonas Hoppe 3da6db7d04 [msvc][fix] remove all unnecessary MP_UNITS_IS_CONST_EXPR_WORKAROUND 2024-09-09 13:35:55 +02:00
Jonas Hoppe 52544678c1 [msvc][fix] add Workaround Macro to conan test-package 2024-09-09 12:37:38 +02:00
Jonas Hoppe eaed0614ef [msvc][fix][unit.h] move requires before function signature instead of using MP_UNITS_IS_CONST_EXPR_WORKAROUND 2024-09-09 12:29:50 +02:00
Jonas Hoppe 9ce76ede3a [msvc][fix] remvoe MP_UNITS_IS_CONST_EXPR_WORKAROUND in constexpr branches 2024-09-09 12:25:09 +02:00
Jonas Hoppe aebf55c09a Revert "Merge branch 'master-msvc-194-only-lib' into master-msvc-194"
This reverts commit e3034c5554, reversing
changes made to 8be458b0b7.
2024-09-09 12:10:39 +02:00
Jonas Hoppe 1d0dbf48b1 Merge remote-tracking branch 'mpusz/master' into master-msvc-194 2024-09-09 12:05:19 +02:00
Jonas Hoppe e3034c5554 Merge branch 'master-msvc-194-only-lib' into master-msvc-194 2024-09-09 11:49:37 +02:00
Mateusz Pusz aedcbcf2e7 docs: minor formatting and spelling improvements to the "CONTRIBUTING.md" 2024-09-08 11:46:34 +02:00
Mateusz Pusz ee21ae0e1f docs: "Generating API reference" chapter added 2024-09-08 11:45:19 +02:00
Mateusz Pusz efc7cb338b ci: generated api_reference destination directory fixed 2024-09-08 10:35:08 +02:00
Mateusz Pusz 1a7f461a08 ci: tex2html path export fixed 2024-09-08 09:36:26 +02:00
Mateusz Pusz be1fc86daf ci: api_reference/src path fixed 2024-09-08 09:27:04 +02:00
Mateusz Pusz 804814e9b0 feat: API reference generation added 2024-09-08 09:23:03 +02:00
Mateusz Pusz 32712a20a8 style: pre-commit formatting issues resolved 2024-09-08 08:32:17 +02:00
Mateusz Pusz 3d3990f3b5 Merge pull request #546 from JohelEGP/ref_docs
docs: add reference documentations
2024-09-08 15:21:54 +09:00
Mateusz Pusz c4a3103267 feat: update .gitignore to exclude generated api reference files 2024-09-08 08:20:26 +02:00
Mateusz Pusz 40d81d0f3e feat: mkdocs-exclude plugin added 2024-09-08 08:20:26 +02:00
Mateusz Pusz 4512e29b1b refactor: api.md renamed to the api_reference.md 2024-09-08 08:20:26 +02:00
Mateusz Pusz 09167990ad chore: *.tex files moved to api_reference/src directory 2024-09-08 08:20:26 +02:00
Johel Ernesto Guerrero Peña 20d58666fe docs: add reference documentations 2024-09-08 08:20:26 +02:00
Mateusz Pusz 04f128623e Merge pull request #532 from mpusz/api_reference
docs: "API Reference" support added
2024-09-08 15:18:20 +09:00
Mateusz Pusz b56bc8b5b2 docs: example generated files removed 2024-09-07 15:46:13 +02:00
Mateusz Pusz 1b4f451f90 docs: "API Reference" support added 2024-09-07 15:46:13 +02:00