Commit Graph
1482 Commits
Author SHA1 Message Date
Mateusz Pusz a09cef4a3f fix: fix VS2022 shadowing issues 2021-11-15 13:46:24 +01:00
Markus Hofbauer 50b9050d6b Feat: Overloads for floor and ceil accepting quantities (#314)
* feat: overloads for floor and ceil accepting quantities

* require same type for dim and rep

* be specific for msvc
2021-11-15 12:23:28 +01:00
Mateusz Pusz 3f28b55ab1 refactor: more constraints added to floor and ceil 2021-11-13 21:53:53 +01:00
Markus Hofbauer b881b56480 feat: first draft ceil 2021-11-13 16:50:55 +01:00
Markus Hofbauer e82bfa23a5 Feat: Floor (#309)
* feat: first draft floor

* apply review feedback and move to desired files

* implement floor considering float types

* reduce code duplication

* apply review feedback and improve docstring

* enable static floor tests for gcc only

* Use recommended feature-test macro

* add floor runtime unittests

* apply review feedback

* make lambda const
2021-11-13 12:17:43 +01:00
Mateusz Pusz 331024a199 refactor: simplified formatting of latitude and longitude 2021-11-11 07:45:46 +01:00
Mateusz Pusz 3c2b705ded Revert "refactor: got rid of CRTP for latitude and longitude"
This reverts commit 65fed78c98.
2021-11-10 19:45:39 +01:00
Mateusz Pusz 65fed78c98 refactor: got rid of CRTP for latitude and longitude 2021-11-10 19:44:22 +01:00
Mateusz Pusz c950a513a4 refactor: latitude and longitude simplified 2021-11-10 19:02:08 +01:00
Mateusz Pusz 6e6c5c281a feat: math functions can now be safely used with user-defined types
Resolves #310
2021-11-09 19:26:26 +01:00
Mateusz Pusz 506408a316 fix: fmt_test compilation fixed 2021-11-08 19:05:08 +01:00
Mateusz Pusz d5f9c6b988 Merge branch 'master' of github.com:mpusz/units 2021-11-08 18:37:44 +01:00
Mateusz Pusz 9f95799288 refactor: got rid of FMT_RUNTIME() as it is not the part of C++20 2021-11-08 18:37:37 +01:00
Mateusz Pusz 44a8d0ad1e build: forgot to commit changes in one CMake file :-( 2021-11-07 09:42:15 +01:00
Mateusz Pusz cbed8b06b8 docs: fexed broken link to LA library
Resolves #308
2021-11-07 09:19:00 +01:00
Mateusz Pusz 212c9e05f2 build: check_libcxx_in_use() fixed 2021-11-06 10:35:44 +01:00
Mateusz Pusz 7006dfcafb build: Sphinx documentation install step refactored 2021-11-05 23:55:24 +01:00
Mateusz Pusz ec6b625135 build: units_as_system renamed to unitsAsSystem 2021-11-05 23:36:14 +01:00
Mateusz Pusz f9fb6cc8b3 build: projectPrefix usage added 2021-11-05 23:35:30 +01:00
Mateusz Pusz bc7849beb1 docs: mp-units talk updated to the one provided at NDC TechTown 2021 2021-11-05 11:32:09 +01:00
Mateusz Pusz 54457b2457 style: typo fixed 2021-11-04 12:24:34 +01:00
Mateusz Pusz 2333c4b3ea build: CMake targets generated by Conan updated 2021-11-04 12:09:54 +01:00
Mateusz Pusz 66fc906558 docs: CITATION.cff file added 2021-11-04 11:17:22 +01:00
Mateusz Pusz 8b28a0c6b9 chore: documentation requirements now installed properly on gitpod 2021-10-20 21:16:23 +00:00
Mateusz Pusz 627f39742d docs: SVG files are now copied and searched correctly 2021-10-20 22:28:42 +02:00
Mateusz Pusz ca3d111579 fix: CTAD test disabled for most of the compilers 2021-10-20 20:18:15 +02:00
Mateusz Pusz 240ec3a460 build: CTAD for quantity is not supported by clang 2021-10-20 19:58:31 +02:00
Mateusz Pusz 6eae368ad4 build: forgot to commit a CMakeFile for docs :-( 2021-10-20 19:53:21 +02:00
Mateusz Pusz b7b8a0bf93 fix: CTAD for aliases fixed 2021-10-20 18:52:13 +02:00
Mateusz Pusz 72ef7584a4 docs: basic concets UML refactored 2021-10-20 11:21:58 +02:00
Mateusz Pusz 1525101555 docs: UML diagrams replaced to plantuml generated SVGs 2021-10-20 10:52:57 +02:00
Mateusz Pusz 8fccfd2d68 docs: quantity arithmetics moved to a separate chapter 2021-10-20 09:49:23 +02:00
Mateusz Pusz 21cea146a5 docs: quick start example updated 2021-10-17 12:27:07 +02:00
Soham Roy bf938c4fa4 Implemented correctly, included type_list 2021-10-17 12:18:11 +02:00
Soham Roy 1b834e8e49 Replaced macro redefinition with appropriate usage 2021-10-17 12:18:11 +02:00
Soham Roy 4c9c651a9e Replace naked pragmas with defines 2021-10-17 12:18:11 +02:00
Mateusz Pusz 7d370eb496 refactor: forward_range replaced with input_range 2021-10-15 18:21:26 +02:00
Mateusz Pusz 342b8c9acf fix: missing input_iterator definition for clang added 2021-10-15 18:18:04 +02:00
Mateusz Pusz d853a2937a refactor: fmt algorithms were overconstrained with forward_iterator 2021-10-15 17:44:49 +02:00
Mateusz Pusz 5bd7852ae5 build: UNITS_USE_LIBFMT support improved 2021-10-15 17:43:58 +02:00
Mateusz Pusz ee70c48b13 build: linear_algebra examples re-enabled on gcc11 2021-10-15 16:14:00 +02:00
Mateusz Pusz 93921e8f31 chore: trond-snekvik.simple-rst VSCode extension added to gitpod 2021-10-15 08:57:59 +02:00
Mateusz Pusz 2fa96c80ab chore: Minor comments change in gitpod.yml 2021-10-14 17:28:44 +02:00
Mateusz Pusz f90cdd1b31 chore: gitpod updated 2021-10-14 16:13:53 +02:00
Mateusz Pusz 5f7b285c8c build: linear-algebra Conan repo is no needed anymore 2021-10-14 15:14:40 +02:00
Mateusz Pusz 3f0691d3e0 chore: "restructuredtext" extension settings added
Preview window scrolling is broken so it is better to disable it.
2021-10-14 15:07:54 +02:00
Mateusz Pusz b08f626af2 chore: "C++ TestMate" extension added to gitpod 2021-10-14 14:29:29 +02:00
Mateusz Pusz 901f53cf16 chore: vscode settings should now be dynamically created and used in gitpod 2021-10-01 12:41:53 +02:00
Mateusz Pusz 76f500d6c4 chore: gitpod docker base image updated 2021-10-01 11:44:32 +02:00
Mateusz Pusz 0514c57492 chore: gitpod prebuilds definition added 2021-10-01 11:27:28 +02:00