Commit Graph

  • c46d7a33fa Merge pull request #140 from grafikrobot/modular develop Robert Ramey 2024-08-18 11:52:27 -07:00
  • dc8e70a190 Update build deps. Rene Rivera 2024-08-07 23:48:42 -05:00
  • 79b7991928 Move inter-lib dependencies to a project variable and into the build targets. Rene Rivera 2024-07-23 22:34:24 -05:00
  • 63c98aa451 Update copyright dates. Rene Rivera 2024-07-20 22:52:05 -05:00
  • 8e982da288 Change all <source> references to <library>. Rene Rivera 2024-07-20 19:42:32 -05:00
  • 2b6dea32b7 Bump B2 require to 5.2 Rene Rivera 2024-06-14 11:33:56 -05:00
  • 4e7bb5c8b8 Add requires-b2 check to top-level build file. Rene Rivera 2024-05-05 09:00:01 -05:00
  • 1faf7c7d52 Add missing import-search for cconfig/predef checks. Rene Rivera 2024-05-04 23:32:15 -05:00
  • 40c1263a7e Switch to library requirements instead of source. As source puts extra source in install targets. Rene Rivera 2024-03-29 21:15:59 -05:00
  • 9ca6bab033 Make the library modular usable. Rene Rivera 2024-03-11 08:38:17 -05:00
  • 13ca3d6dd3 fix safe_format includes (#114) hgkjshegfskef 2022-06-07 03:22:59 +02:00
  • 777e0be5ec Add a Boost-friendly subproject case to CMakeLists boost-1.90.0.beta1 boost-1.90.0 boost-1.89.0 boost-1.88.0.beta1 boost-1.88.0 boost-1.87.0.beta1 boost-1.87.0 boost-1.86.0.beta1 boost-1.86.0 boost-1.85.0.beta1 boost-1.85.0 boost-1.84.0.beta1 boost-1.84.0 boost-1.83.0.beta1 boost-1.83.0 boost-1.82.0.beta1 boost-1.82.0 boost-1.81.0.beta1 boost-1.81.0 boost-1.80.0.beta1 boost-1.80.0 boost-1.79.0.beta1 boost-1.79.0 boost-1.78.0.beta1 boost-1.78.0 master Peter Dimov 2021-06-04 22:00:53 +03:00
  • 21a342e874 Add a Boost-friendly subproject case to CMakeLists pr/cmakelists Peter Dimov 2021-06-04 22:00:53 +03:00
  • d61e5ad30e squash changes in develop into master boost-1.77.0.beta1 boost-1.77.0 Robert Ramey 2021-05-31 10:15:31 -07:00
  • 8459368fb4 Merge branch 'develop' of https://github.com/boostorg/safe_numerics into develop Robert Ramey 2021-05-23 15:58:09 -07:00
  • 52f61ba737 Make increment/decrement operators constexpr. (#102) Eelis 2021-05-24 00:57:33 +02:00
  • 0eaf4c8149 fix issues and PRs Robert Ramey 2021-05-23 15:56:56 -07:00
  • 308e8592d7 added test_concept_integer Robert Ramey 2021-05-18 00:21:08 -07:00
  • 42a6cdd82b Regenerated Documentation. Still pending - remove/remake concept SafeNumeric. Robert Ramey 2021-05-16 18:49:31 -07:00
  • 36dca408ce Rationalized concepts for Numeric and Integer. The concept integer not currently used. Robert Ramey 2021-05-16 17:52:47 -07:00
  • bb216bf58e updates to support better concepts Robert Ramey 2021-05-11 11:14:49 -07:00
  • 6629424a7f Major implementation change: Only Numeric concept still exists. And that is almost all “optional” members. User interface is the same. Robert Ramey 2021-05-08 15:05:50 -07:00
  • 4634fa0137 squash and merge develop into master for next boost release. boost-1.76.0.beta1 boost-1.76.0 Robert Ramey 2021-02-22 16:26:35 -08:00
  • e15c54c3e2 add drone config [ci skip] (#100) Sam Darwin 2021-01-22 13:42:17 -06:00
  • cb3f4406a8 “improved” implementation of ilog2. Robert Ramey 2020-12-31 19:52:19 -08:00
  • ac0d4ec85b eliminate bogus compile time warning from gcc on assignment to smaller integer Robert Ramey 2020-12-28 16:10:27 -08:00
  • fdc3439e04 Add "cxxstd" json field. The "cxxstd" json field is being added to each Boost library's meta json information for libraries whose minumum C++ standard compilation level is C++11 on up. The value of this field matches one of the values for 'cxxstd' in Boost.Build. The purpose of doing this is to provide information for the Boost website documentation for each library which will specify the minimum C++ standard compilation that an end-user must employ in order to use the particular library. This will aid end-users who want to know if they can successfully use a Boost library based on their C++ compiler's compilation level, without having to search the library's documentation to find this out. (#97) Edward Diener 2020-12-16 03:09:11 -05:00
  • 4bd5bb50c0 move github actions yml files to the correct directory Robert Ramey 2020-12-15 20:15:20 -08:00
  • 5fade94d90 add .github actions for continuous integration for posix and for windows systems. First try. Robert Ramey 2020-12-15 18:24:57 -08:00
  • dea5a291b1 Added “inline” to all free standing functions. This is in response to an issue whereby including the same types in a library ends up producing multiple copies of the function. This only shows up when combinations of types are reused. This should fix the problem. BUT I can’t figure out a way to really test it. These changes pass all tests - but there is no “linking” test to show this specific problem. Robert Ramey 2020-12-15 11:04:31 -08:00
  • c3cfc5b6c8 corrected C++ syntax ambiguity with union. Robert Ramey 2020-12-13 10:54:37 -08:00
  • f311f74cee squash and merge develop into master for next boost release. boost-1.75.0 Robert Ramey 2020-11-17 20:55:55 -08:00
  • a742337b94 adjusted Jam and CMake files to eliminate bogus tests failures in boost test matrix. Robert Ramey 2020-11-10 10:59:12 -08:00
  • ab13c7bed4 update documentation Robert Ramey 2020-11-07 09:19:36 -08:00
  • cbb4197a17 cleaned up definitions for constructors and casting operators passes all tests and examples. minor documentation fixes Robert Ramey 2020-11-07 07:09:37 -08:00
  • c4b0d5fbb6 simplified safe<T> <-> T conversions. fails test_rational only Robert Ramey 2020-11-02 07:23:04 -08:00
  • 75df037bc8 fixed various issues raised in mini-review. Robert Ramey 2020-10-16 21:16:26 -07:00
  • 82d3be1cf4 documentation updates and corrections due mostly to Andrzej Krzemieński Robert Ramey 2020-10-14 06:11:35 -07:00
  • ec2eb0fdcb Fix typo in copyright headers. (#85) Giovanni Mascellani 2020-10-14 14:13:36 +02:00
  • 96a38192dc docs: fix namespace in introduction (#86) Andrzej Krzemieński 2020-10-14 14:11:03 +02:00
  • e2062b9ecb Squash merge develop into release for next release of boost a) Updated CMake files to run tests and properly import other boost dependencies b) Improved custom expectation facility and added test for same c) fixed error when checking wasn’t being done on assignment d) fixed error where lower bound was assumed to be 0 boost-1.75.0.beta1 Robert Ramey 2020-07-05 14:49:35 -07:00
  • 3bf136ba8b Corrected error related to lower bound for ranges which are not zero Robert Ramey 2020-06-24 22:11:52 -07:00
  • eb95b39873 Merge branch 'develop' of https://github.com/boostorg/safe_numerics into develop Robert Ramey 2020-06-23 14:03:59 -07:00
  • 34d0a2196d corrected error in safe_range where by minimum was fixed a zero Improved implementation/definition of error_policies added test for custom error policy changed documentation in accordance with the above. Robert Ramey 2020-06-23 14:00:31 -07:00
  • a5405dd4d9 Update README.md Robert Ramey 2020-06-11 14:12:16 -07:00
  • 25ea58bc4e Collapse configurations Peter Dimov 2020-02-08 19:02:02 +02:00
  • dcac37849f Fix gcc 9; use higher gcc versions on arm64/ppc64le/s390x Peter Dimov 2020-02-08 18:11:51 +02:00
  • 3098896b3d Add gcc 9, clang 7, 8 to Travis; update for Xenial; add arm64/ppc64le/s390x jobs Peter Dimov 2020-02-08 16:49:12 +02:00
  • 9a765f565c cleaned up issues in type requirement issues for integer only operations. Robert Ramey 2020-01-20 15:26:50 -08:00
  • dbd1b79a84 made changes in the hope of fixing failing tests for MSVC 14.1 compiler with default standard library. Robert Ramey 2020-01-05 12:09:44 -08:00
  • 94cbf67773 invoked extra warnings for b2 file boost-1.74.0.beta1 boost-1.74.0 boost-1.73.0.beta1 boost-1.73.0 Robert Ramey 2019-12-27 16:09:06 -08:00
  • 35bedab3f6 fixed tests for checked_xor, checked_or, checked_add, and checked_and made all checking of symmetries of test matrices occur at compile time via constexpr. added -Wextra to warning switches. Robert Ramey 2019-12-25 14:37:37 -08:00
  • d692eddd3d test all examples Robert Ramey 2019-12-15 08:47:44 -08:00
  • 3e83dc88ce fix examples so they can run without console input Robert Ramey 2019-12-14 23:05:28 -08:00
  • 4a7acbf040 recent changes provoked error in example93. Very interesting as this example was used as a “provably” correct stepper motor implementation in CPPCon 2018. Fixing this led to some changes in casting of checked numbers. Currently passing all tests/examples on my machine. Robert Ramey 2019-12-13 16:40:57 -08:00
  • 9de5d67534 changed .travis to fix problem for clang compilers on some linux os platform Robert Ramey 2019-12-12 18:10:59 -08:00
  • 937928693d corrected error in compile time casting for both safe_integer and safe_literal. Added test_cast_constexpr Robert Ramey 2019-12-11 22:34:17 -08:00
  • 8ff0f8538c Permit compilation with -fno-exceptions. boost-1.72.0 Robert Ramey 2019-10-25 11:36:59 -07:00
  • 9b4408a5ac Fix ends of lines, remove executable permission (#72) Andrey Semashev 2019-06-23 22:12:57 +03:00
  • 3c31c01849 corrected CMake project so it will set up boost search path on Xcode project. Probably not quite right - but ok for now. boost-1.72.0.beta1 boost-1.71.0.beta1 boost-1.71.0 Robert Ramey 2019-05-16 18:22:14 -07:00
  • 92381748d6 add header search path to Xcode projects. Probably not quite right, but works for now. Robert Ramey 2019-05-16 18:20:27 -07:00
  • f4f0352b60 fix links to *.hpp files in documentation Robert Ramey 2019-05-10 04:31:00 -07:00
  • accdb4062b build documentation from latest boost book in preparation for checkin Robert Ramey 2019-05-09 11:13:32 -07:00
  • d55e7aaa8e Merge branch 'develop' of https://github.com/boostorg/safe_numerics into develop Robert Ramey 2019-05-03 14:13:15 -07:00
  • 58db776217 ixed issue related to lack of constexpr in exception with an “inline” miscellaneous improvements in documentation improved CMake implementation Robert Ramey 2019-05-03 14:03:51 -07:00
  • 3c1eabb09f fixed issue related to lack of constexpr in exception with an “inline” miscellaneous improvements in documentation improved CMake implementation Robert Ramey 2019-05-03 14:02:18 -07:00
  • bffb86c5d8 Merge pull request #68 from Mike-Devel/feature/min_cmake Robert Ramey 2019-05-03 10:04:51 -07:00
  • 27d3232cba corrections to documentation Robert Ramey 2019-03-14 10:28:20 -07:00
  • 273526b721 various documentation corrections boost-1.70.0 Robert Ramey 2019-03-10 12:18:42 -07:00
  • 82bf4359c7 minor changes for warnings simplify passing of constant strings. boost-1.70.0.beta1 Robert Ramey 2019-03-01 13:30:18 -08:00
  • 369a8dc280 small corrections to address issues in the boost test matrix Robert Ramey 2019-02-26 21:11:09 -08:00
  • dec518c4a9 Fixed Exception Policies for trap and ignore. Robert Ramey 2019-02-24 09:54:13 -08:00
  • a22cf75705 minor documentation corrections Robert Ramey 2019-01-23 09:25:22 -08:00
  • f49e434238 Add tests for constexpr improved CMake implementation for testing and development Robert Ramey 2019-01-10 11:54:18 -08:00
  • eb462d6fa1 [CMake] Add cmake target for safe_numerics library Mike Dev 2018-12-30 18:51:36 +01:00
  • 0146d9fff8 changes to try to accommodate mdvc 32 bit version which can’t pass tests Robert Ramey 2019-01-03 10:24:00 -08:00
  • 7c462ae658 Merge pull request #60 from eldiener/develop Robert Ramey 2018-12-20 08:54:40 -08:00
  • 45311f617f Updated for b2 cmake support. Edward Diener 2018-12-20 10:13:38 -05:00
  • 4c59dbc8b7 Merge branch 'develop' of https://github.com/eldiener/safe_numerics into leldgit Edward Diener 2018-12-20 10:12:10 -05:00
  • e26f76e107 automatic - change variable name in order avoid spurious warnings exception - comment out unused inline function in order to avoid duplicate symbols during linkage test_add_native - remove workaround code for MSVC/mp11 issue with too many elements in tuple. This should be fixed now in develop branch put workaround code in notepad - just in case test_range - remove unused variables to avoid spurious warning Robert Ramey 2018-12-17 11:55:54 -08:00
  • be981a0628 addressing limit on MSVC template depth Robert Ramey 2018-12-16 13:26:42 -08:00
  • 94a39491de address MSVC compiler issue Robert Ramey 2018-12-15 18:12:16 -08:00
  • d99c340dd4 working around MSVC issues Robert Ramey 2018-12-15 13:41:19 -08:00
  • 96fd64e639 fixing MSVC issue Robert Ramey 2018-12-15 13:21:19 -08:00
  • b7d02d6337 another attempt to make MSVC work Robert Ramey 2018-12-15 12:29:37 -08:00
  • 0dbc6a8d5b test fix for MSVC syntax problems Robert Ramey 2018-12-15 10:03:59 -08:00
  • 34c5645bf1 revert changes made to isolate problem with clang with C++17 set Robert Ramey 2018-12-13 20:21:36 -08:00
  • 5a4cfdf418 adjustment to try to address clang test failures Robert Ramey 2018-12-13 14:51:01 -08:00
  • f7f37ab5d0 adjustment to try to address clang test failures Robert Ramey 2018-12-13 12:30:30 -08:00
  • 9c88222141 adjustment to try to address clang test failures Robert Ramey 2018-12-13 08:56:13 -08:00
  • fe03bde34c adjustment to try to address clang test failures Robert Ramey 2018-12-12 15:34:26 -08:00
  • d78eee04b4 Merge pull request #65 from d3fault/misc-doc-typos2 Robert Ramey 2018-12-12 15:31:39 -08:00
  • 19751af627 doc: fix misc typos and wording d3fault 2018-12-12 14:45:07 -07:00
  • b1273bd84d test change to avoid issue with Clang constexpr detection in test_checked_add_constexpr.cpp adjust Jamfile to extend depth of template instantiation to 1024 Robert Ramey 2018-12-12 09:48:10 -08:00
  • 56e08ca37d address misc errors which are only showing with clang specify template stack depth Robert Ramey 2018-12-11 15:48:55 -08:00
  • 7f8add08b5 add constexpr to test signed in all constexpr tests Robert Ramey 2018-12-11 12:32:43 -08:00
  • c03a279bdd Made changes to constexpr tests hoping to reveal more information on constexpr failures in Clang compilers which support C++17. Also included a couple of pragmas to suppress bogus warnings on earlier Clang platforms. Robert Ramey 2018-12-11 09:17:18 -08:00
  • a06d9f7a69 added constexpr tests to checked result operations added tests for check result < and == operations correct implementation of some checked result types added constexpr example Robert Ramey 2018-12-10 14:12:47 -08:00
  • 72f172d9eb Remove executable permission. Edward Diener 2018-12-03 08:02:03 -05:00
  • 398bab47e8 eliminated pragma once from all headers Robert Ramey 2018-11-24 08:40:24 -08:00