2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-29 07:42:11 +00:00
Commit Graph

1317 Commits

Author SHA1 Message Date
jzmaddock
429825535b Fix type of boolean values. 2015-09-03 09:34:42 +01:00
jzmaddock
7dcabda78b Merge branch 'accuracy' into develop
Conflicts:
	test/float128/test_polygamma.cpp
	test/powm1_sqrtp1m1_test.hpp
2015-09-03 09:12:11 +01:00
jzmaddock
673c229a6c More constexpr and noexcept specifiers. 2015-09-01 17:34:50 +01:00
jzmaddock
146f0471ec Fix previous commit! 2015-08-29 11:21:55 +01:00
jzmaddock
3d8d58262d Add workaround for early/broken constexpr implementations. 2015-08-29 09:20:28 +01:00
jzmaddock
57219acee9 Make more functions constexpr and noexcept. 2015-08-28 12:27:41 +01:00
jzmaddock
06cff2b46f Merge branch 'accuracy' of https://github.com/boostorg/math into accuracy 2015-08-27 10:43:25 +01:00
jzmaddock
4c278283a7 More noexcept specs. 2015-08-27 10:42:45 +01:00
jzmaddock
dac39d03e1 Change noexcept to be less greedy in instantiating numeric_limits: fixes some multiprecision failures 2015-08-25 09:04:29 +01:00
jzmaddock
bf29ef6628 Begin marking up functions as constexpr and noexcept where possible. 2015-08-23 17:50:56 +01:00
jzmaddock
8f252f78a0 Building with hidden scope doesn't work on Oracle.
Also added needed typecast for Oracle 64-bit build.
2015-08-20 08:53:00 +01:00
jzmaddock
ba98215010 Oracle compiler needs GNU align syntax. 2015-08-17 19:07:37 +01:00
jzmaddock
277dbd4f5c Add compiler comparison option. 2015-08-17 13:05:50 +01:00
jzmaddock
8a29241cc3 Fix bug in root bracketing code 2015-08-11 18:17:56 +01:00
jzmaddock
3e67c80eeb Improve quantile calculation so as to avoid underflow causing lots of PDF calls and poor performance. 2015-08-09 17:29:34 +01:00
jzmaddock
c3793dbff2 One more try to get powm1 accuracy down. 2015-08-02 18:26:47 +01:00
jzmaddock
801a739595 Fix GCC warnings. 2015-08-01 19:13:22 +01:00
jzmaddock
258a2aeb4c Big warning suppression fix for VC14. 2015-08-01 18:00:41 +01:00
jzmaddock
a18661ad40 Tweak powm1 one more time near the boundary conditions. 2015-07-31 19:19:47 +01:00
jzmaddock
da958ee36a Some more tweaks to powm1.
Plus some more tests.
2015-07-31 09:25:31 +01:00
jzmaddock
ce953afcda Yet another "better powm1". 2015-07-28 19:23:53 +01:00
jzmaddock
1177477903 Remove deprecated type_traits usage. 2015-07-25 11:45:49 +01:00
jzmaddock
e973194d55 Fix some corner cases in the non-central distros. 2015-07-18 16:41:28 +01:00
jzmaddock
541f0d2839 Fix method selection condition in powm1. 2015-07-13 10:39:35 +01:00
jzmaddock
74b8427084 Fix domain_error for k==1. 2015-07-11 09:49:17 +01:00
jzmaddock
869bf00304 Improve powm1 accuracy slightly. 2015-07-11 09:16:55 +01:00
jzmaddock
bab82f2eb1 Correct overflow handling in bessel derivatives. 2015-07-10 19:50:05 +01:00
jzmaddock
43de5afcf2 Oops correct previous commit. 2015-07-07 18:45:45 +01:00
jzmaddock
faacf0520d Fix function template specialization definition. 2015-07-07 18:42:01 +01:00
jzmaddock
d9dc112aee Fix bug in ellint_2 for very small angles.
With thanks to Rocco Romeo.
2015-07-05 19:42:31 +01:00
jzmaddock
32b31bbb72 Add explicit overloads for std::pair to handle C++03 compilers. 2015-06-19 10:05:12 +01:00
jzmaddock
aedcfb355b Fix template name used only on Darwin. 2015-06-18 18:35:15 +01:00
jzmaddock
2a94e603e5 Add relative_difference tests.
And fix resulting issues.
2015-05-26 17:17:47 +01:00
jzmaddock
afc1237939 Stop using modfl on Mingw - it crashes! 2015-05-25 19:20:09 +01:00
jzmaddock
69b2524d13 Document ulp function.
Improve tests, and fix issues that show up.
2015-05-25 08:47:34 +01:00
jzmaddock
94b8195aad Add ulp function.
Update tests for relative_difference etc.
Add new functions to math_fwd.hpp.
Add new functions to concept tests.
2015-05-24 12:01:06 +01:00
jzmaddock
73c27a1a6d Rewrite float-comparison docs to use new public interfaces. 2015-05-23 12:06:36 +01:00
jzmaddock
e7b5c6a0be Add relative_difference.hpp 2015-05-18 18:24:26 +01:00
jzmaddock
74a42f98ea Fix various typos.
Change Schroeder to Schroder.
2015-05-18 18:23:47 +01:00
jzmaddock
8aaf48ecaa Add test case for root-finding.
Also fix missing using declaration in roots.hpp.
2015-05-14 19:02:40 +01:00
jzmaddock
66296fc6bd Fix bug in newton_raphson_iterate.
Which may cause switching to bisection too early.
2015-05-12 19:32:59 +01:00
jzmaddock
0b166f37ab Merge branch 'develop' into rooting 2015-05-11 19:08:00 +01:00
jzmaddock
764738d596 Change root finding code to be better boiler-plated.
Re-run tests accordingly.
2015-05-10 10:06:08 +01:00
jzmaddock
308f39c78a Fix iteration count housekeeping so we don't accidentally miss one if we get an exact result because f(x) is zero. 2015-05-05 13:15:23 +01:00
jzmaddock
c8eb3c9cf4 Add default constructor for eps_tolerance. 2015-04-29 18:47:09 +01:00
jzmaddock
da33ba4425 Fix heuristic in schroeder_iterate.
Brings schroeder_iterate more into line with halley_iterate.
2015-04-28 19:16:33 +01:00
Jessica Hamilton
d4240296b5 Haiku: disable float128 and long double support 2015-04-09 09:38:27 +12:00
jzmaddock
2f09aca3cd Merge branch 'develop' of https://github.com/boostorg/math into develop 2015-04-07 18:01:54 +01:00
jzmaddock
0cbed0315d Fix digit count for 128-bit quad-floart types.
As per discussion here: http://www.exploringbinary.com/7-bits-are-not-enough-for-2-digit-accuracy/comment-page-1/#comment-9358
2015-04-07 17:57:07 +01:00
Lauri Nurmi
0c273d09a9 Fix spelling of "occurr*". 2015-03-28 22:11:16 +02:00