jzmaddock
ff0279cd21
Merge pull request #798 from mborland/nullptr
...
Fixes for -Wzero-as-null-pointer-constant
2022-07-11 18:14:20 +01:00
Matt Borland
82b188f96d
Replace 0 in pointer default arguments with nullptr
2022-07-10 18:22:17 -07:00
Matt Borland
f7f3b8e015
Replace casting of 0 to pointer type with nullptr
2022-07-10 18:05:13 -07:00
Matt Borland
7caa9101b0
Replace 0 with nullptr in pole error
2022-07-10 17:51:28 -07:00
Matt Borland
52d5c0db7d
Explicit casting of double
2022-07-10 17:37:15 -07:00
Matt Borland
d918340a25
Replace 0 with nullptr in special_fun
2022-07-10 16:26:13 -07:00
Matt Borland
3ce17c2e2b
Replace 0 with nullptr for raise_under/overflow error
2022-07-10 13:56:13 -07:00
Samuel Rowlinson
4809e714d4
Fixing right endpoint deriv bug in cubic b spline
2022-07-10 15:25:34 +01:00
Matt Borland
97a92c0f50
Replace c-style casts for double
2022-07-05 19:59:53 -07:00
Matt Borland
f915cfc0d8
Replace c-style casts for int
2022-07-05 19:59:45 -07:00
Matt Borland
eb9baf6808
Fix variable shadowing in chebyshev
2022-07-05 19:59:38 -07:00
Matt Borland
78d691ee2d
Fix unreachable code in bernoulli
2022-07-05 19:59:28 -07:00
Matt Borland
1a0c3c8763
explicit casting from floating point to integer
2022-07-05 19:59:16 -07:00
Matt Borland
69557c0d1a
Explicit conversions from floating point type to size_t
2022-07-05 19:59:11 -07:00
Matt Borland
77f7851c12
Add explicit type conversions for unsigned to signed types
2022-07-05 19:59:06 -07:00
Matt Borland
28ff5ed847
Add explicit casting for int to floating point types
2022-07-05 19:58:58 -07:00
Matt Borland
69e6643cbd
Fix unreachable code
2022-07-05 19:58:51 -07:00
Matt Borland
d2a42e9501
Change implicit type conversion to explicit
2022-07-05 19:58:41 -07:00
Matt Borland
ae70e1f22d
Merge pull request #794 from mborland/unsafe_bool
...
Fix unsafe bool usage
2022-07-03 15:44:19 -07:00
Matt Borland
d11c836abd
Fix deprecated implicit copy constructor for octonion
2022-07-02 19:40:12 -07:00
Matt Borland
0b57cd2cd7
Suppress TR1 unused variable warnings
2022-07-02 19:23:55 -07:00
Matt Borland
01d77f55e7
Fix uninitialized const reference warning
2022-07-02 19:10:05 -07:00
Matt Borland
0ed3134719
Fix deprecated implicit copy constructor in airy ai bi zero
2022-07-02 18:48:15 -07:00
Matt Borland
06ce1cd511
Fix deprecated implicit copy constructor in bessel jy zero
2022-07-02 18:30:01 -07:00
Matt Borland
99adf50919
Fix C++14 extension warning in traits
2022-07-02 18:24:49 -07:00
Matt Borland
699002becb
Fix deprecated implicit copy constructor in hyper geom 1F1 recurrence
2022-07-02 18:18:48 -07:00
Matt Borland
1cbf7e2c3d
constexpr signbit ( #793 )
...
Implements constexpr signbit with annotated caveats during compile time.
2022-07-02 11:47:03 -07:00
Matt Borland
bbd37e2216
Fix unsafe bool warning in remainder and refactor
2022-07-01 17:09:59 -07:00
Matt Borland
e2e627fa10
Fix unsafe bool warning in fmod and refactor
2022-07-01 16:56:45 -07:00
Matt Borland
ae0fe3d751
Constexpr next ( #789 )
...
Implements constexpr: nextafter, nextafterf, nextafterl, nexttoward, nexttowardf, and nexttowardl as described in P0533R9
2022-06-29 08:44:54 -07:00
Matt Borland
5fa7797ec6
Bump minimum language standard to C++14 ( #788 )
...
* Bump minimum language standard to C++14
* Add warning message in config
* Update readme and keep C++14 in GCC5 drone run
2022-05-31 20:19:22 -07:00
jzmaddock
65aaf02760
Merge pull request #786 from boostorg/no_exceptions_or_rtti_error_handling
...
Set BOOST_NO_EXCEPTIONS and BOOST_NO_RTTI for GCC and math in standal…
2022-05-31 08:43:26 +01:00
Matt Borland
3107abaa8a
Constexpr fma ( #734 )
...
* constexpr fma
* Improve use of intrinsics for calculation
* Changes to intrinsics and address sonarlint comments
2022-05-30 13:35:54 -07:00
John Maddock
b50452bf81
Merge branch 'develop' into no_exceptions_or_rtti_error_handling
2022-05-30 18:27:31 +01:00
jzmaddock
25e51f773a
Fix condition_numbers.hpp for no-eh usage.
...
Enclose try...catch keywords in BOOST_NO_EXCEPTIONS check.
2022-05-27 18:46:47 +01:00
jzmaddock
355237efeb
Add missing #include to chebeshev.hpp.
2022-05-26 12:59:56 +01:00
Matt Borland
e5eae18f14
Chatterjee Correlation Coefficient ( #770 )
...
* Implement rank vector
[ci skip]
* Add documentation. Admittedly terrible.
* Add unit tests.
* Cleanup method of detecting if execution policies are valid or not
[ci skip]
* Implement and test chatterjee correlation
[ci skip]
* Add spot checks and special handling for constant Y
[ci skip]
* Add performance file
[ci skip]
* Add execution policy support to rank
[ci skip]
* Remove duplicates from v when generating the order vector
[ci skip]
* Fix macro error for use of <execution>
[ci skip]
* Use explicit types instead of auto to avoid warnings
[ci skip]
* Add execution policy testing to rank
[ci skip]
* Add threaded implementation
[ci skip]
* Added threaded testing
* Fix formatting and ASCII issues in test
* Fix more ASCII issues
* refactoring
* Fix threaded impl
* Remove non-ASCII apostrophe
[ci skip]
* Doc fixes and add test comparing generally to paper values
* Significantly tighten tolerance around expected values from paper
* Change tolerance for sin comparison
Co-authored-by: Nick Thompson <nathompson7@protonmail.com >
2022-05-25 08:13:24 -07:00
jzmaddock
536851add4
Change naked throws to BOOST_MATH_THROW_EXCEPTION.
2022-05-24 16:47:48 +01:00
jzmaddock
7c5228a07b
Add no-exception handling tests.
...
Add Ubuntu-22 plus gcc-12 and clang-14 CI tests.
Fix a couple headers which still had noeh-unfriendly code.
2022-05-15 17:35:11 +01:00
jzmaddock
bf3b0258e8
Correct error handling in owens_t.
2022-05-13 19:25:18 +01:00
jzmaddock
a6db2d19b7
Change bernoulli error handling to always go through the policies.
2022-05-13 19:03:42 +01:00
jzmaddock
926e34c55c
Set BOOST_NO_EXCEPTIONS and BOOST_NO_RTTI for GCC and math in standalone mode.
...
Disable everything not needed in error_handling.hpp when no exceptions are available.
2022-05-12 19:42:24 +01:00
Christopher Kormanyos
3687f1e88d
Redeclaration of max_factorial value
2022-05-10 08:28:22 +02:00
Matt Borland
eb422bcead
Merge pull request #762 from mborland/logpdf
...
Logpdf support
2022-04-18 18:45:50 -07:00
Matt Borland
51dc64e867
Fix for issue 773 ( #782 )
2022-04-18 09:23:20 -07:00
Matt Borland
4dcddfb801
Replace uses of log(tgamma(x)) with lgamma(x)
2022-04-18 09:22:31 -07:00
Matt Borland
209ad4755a
Fixes from review and Clang-Tidy/SonarLint
2022-04-16 14:26:42 -07:00
jzmaddock
2d8413e913
Merge pull request #778 from boostorg/hyper1f1_bugfix
...
Minor 1F1 bug fixes.
2022-03-13 08:51:25 +00:00
jzmaddock
cf1c5c95b8
Correct variable name typo.
2022-03-12 15:42:12 +00:00
jzmaddock
4a4985d47a
Fix logic error in roots.hpp
...
Fixes https://github.com/boostorg/math/issues/776
2022-03-12 10:20:01 +00:00