Commit Graph

5028 Commits

Author SHA1 Message Date
sguazt
0c0337a0df [distributions] Hyper-Exponential: Improved test unit to support long-double type. 2014-08-24 19:47:01 +02:00
jzmaddock
90d2ebc13a Change test type list when there are no long double math functions. 2014-08-24 18:41:51 +01:00
jzmaddock
d424e2ef23 Fix some more warnings and enable tests for all the test types. 2014-08-24 18:40:21 +01:00
jzmaddock
b925b0c0e8 Add hyperexponential_distribution to concept checks, fix for warnings/bugs. 2014-08-24 15:21:36 +01:00
sguazt
dbcfe57869 [distributions] Hyper-Exponential: use the exponential distribution for PDF. 2014-08-24 14:47:17 +02:00
jzmaddock
ffc483f907 Up precision of tests.
Fix some conceptual compiler errors in hyperexponential_distribution.
2014-08-24 09:29:11 +01:00
sguazt
22b5c828ef [distributions] Hyper-Exponential: removed useless assertion (the check is already done in the 'check_dist' function. 2014-08-24 09:10:15 +02:00
sguazt
678a1a7326 [distributions] Hyper-Exponential: forget to 'normalize' probability in constructor receiving iterators as arguments. 2014-08-24 09:09:25 +02:00
Robin Eckert
fb835eb029 fix rounding errors
- the direct predecessor/successor for 0.5/-0.5 was formerly wrongly
   rounded to 1.0/-1.0 rather than 0.0

 - integral numbers of the format 1xxxxxx1 filling mantissa completely
   were formerly rounded to the next integral away from zero
2014-08-23 19:42:02 +02:00
Robin Eckert
81cfe69d32 add explicit test cases for rounding corner cases 2014-08-23 19:31:08 +02:00
Robin Eckert
2b5ef4aa93 pull out for loop body of rounding test for later test 2014-08-23 19:14:14 +02:00
sguazt
4fbfc1f2ce [distributions] Hyper-exponential: increased tolerance (from 1e-3 to 1e-4). 2014-08-22 18:33:07 +02:00
sguazt
0735d8177e [distributions] Hyper-exponential: range arguments to contructor should be passed by const-ref. 2014-08-22 18:32:22 +02:00
sguazt
025046f307 [distributions] Hyper-exponential: preliminary version of documentation (still incomplete). 2014-08-22 18:31:10 +02:00
sguazt
3621b083e2 [distributions] Hyper-Exponential: registered tests and fixed some test-related issue. 2014-08-22 16:37:35 +02:00
sguazt
144db22c2f [distributions] Hyper-Exponential: solved 'unused parameter' warning in 'mode' function. 2014-08-22 15:06:12 +02:00
sguazt
412bba6a24 [distributions] Added Hyper-Exponential distribution. 2014-08-22 15:01:23 +02:00
jzmaddock
88f3295ce3 Merge pull request #5 from Flast/pr/freebsd
Fix test compile error in long double broken environment.
2014-08-19 17:51:34 +01:00
jzmaddock
01ad085c82 Merge pull request #6 from danieljames/metadata
Create metadata file.
2014-08-18 17:50:38 +01:00
Daniel James
73304ec70e Add metadata file. 2014-08-18 15:07:15 +01:00
Kohei Takahashi
3c07a49aac Don't check long double capability for BOOST_CSTDFLOAT_xx.
For example IA-32, those macros suggest long double as 80-bit floating
  point type, however some math runtime implementations are broken for
  long doublle even if supported by compiler (e.g. FreeBSD 9, ...).

Signed-off-by: Kohei Takahashi <flast@flast.jp>
2014-08-18 05:13:00 +09:00
jzmaddock
3fe188da32 Remove all references to pow23_four_minus_pi: it's been removed, see also https://github.com/boostorg/math/pull/5 2014-08-17 09:28:37 +01:00
jzmaddock
60441c5d3a Add missing #includes, see https://github.com/boostorg/math/pull/5/files 2014-08-17 09:25:05 +01:00
jzmaddock
97cdf3ca3a Disable some msvc warnings, see: d02ae84866 (commitcomment-7257997) 2014-08-04 19:11:53 +01:00
jzmaddock
6e8145a076 Add code to profile changes to toms748_solve.hpp to see if their effect is beneficial.
Change the heuristics used when the initial guess is really bad.
Change example to return a fail-code when an error occurs.
2014-07-31 12:48:23 +01:00
jzmaddock
f813736794 Merge pull request #4 from MarcelRaad/patch-1
Remove redundant variable declarations
2014-07-12 12:12:08 +01:00
Marcel Raad
7621f1e931 Remove redundant variable declarations
... to silence compiler warnings about variable shadowing.
2014-07-12 12:44:45 +02:00
jzmaddock
a3e353fdf5 Merge pull request #3 from rogiervd/develop
Fix missing include enable_if.hpp
2014-07-10 17:29:44 +01:00
Rogier van Dalen
d9ba6ae8b0 Fix missing include 2014-07-10 15:45:49 +01:00
jzmaddock
1e8dfa9218 Merge branch 'develop' 2014-06-27 17:12:30 +01:00
jzmaddock
b6081dc422 Workaround broken --remove-test-targets option. 2014-06-27 17:11:12 +01:00
jzmaddock
dab440d484 Merge branch 'develop' 2014-06-15 13:10:00 +01:00
jzmaddock
74dd2d0485 Update history. 2014-06-15 13:07:10 +01:00
jzmaddock
866492cb02 remove dependency to tr1 - we don't really need it anymore. 2014-06-13 13:32:08 +01:00
jzmaddock
2f65e6cb65 Fix typos. 2014-06-13 08:20:14 +01:00
jzmaddock
d658ccd043 Fix doc typo and regenerate 2014-06-12 18:52:03 +01:00
jzmaddock
ee8edd4c33 Fix up functions that were returning tools::max_value to call overflow_error instead.
See https://svn.boost.org/trac/boost/ticket/10111.
2014-06-12 13:50:30 +01:00
jzmaddock
e20b44e8a9 Move headers that are mostly used for internal maintenance and testing into an "include_private" directory - this is to reduce dependencies on other Boost modules when using this library. 2014-06-09 16:08:35 +01:00
jzmaddock
09fceb2142 Merge branch 'develop' of https://github.com/boostorg/math into develop 2014-05-28 13:25:10 +01:00
jzmaddock
7cb3316d06 Fix for 106-bit "double double" types. 2014-05-28 13:24:40 +01:00
jzmaddock
0896652d2c Merge pull request #1 from Flast/pr/missing_header
missing include <limits>
2014-05-27 08:50:12 +01:00
Kohei Takahashi
c50b5a8bcc Fix missing header
Signed-off-by: Kohei Takahashi <flast@flast.jp>
2014-05-27 11:07:23 +09:00
jzmaddock
a29a74bdaf Add needed include to config.hpp, fix runtime checks under valgrind in erf_inv initialization, see https://svn.boost.org/trac/boost/ticket/10005 2014-05-26 19:14:49 +01:00
jzmaddock
ab6cc524dd Fix Halley iteration to work when derivative is zero, even though the second derivative is not, see https://svn.boost.org/trac/boost/ticket/10046. 2014-05-25 15:35:08 +01:00
jzmaddock
e6996e1188 Fix round and trunc functions to work with integer arguments, see https://svn.boost.org/trac/boost/ticket/10066. 2014-05-24 09:47:21 +01:00
jzmaddock
5a9688e4ef Apply fix from https://svn.boost.org/trac/boost/ticket/9884 2014-04-14 15:49:43 +01:00
jzmaddock
501fa2ea38 Merge branch 'develop' of https://github.com/boostorg/math into develop 2014-04-10 10:40:07 +01:00
jzmaddock
ca866ccff6 Apply https://svn.boost.org/trac/boost/ticket/9865 2014-04-10 10:39:46 +01:00
pabristow
582e972d18 Merge branch 'develop' of https://github.com/boostorg/math into develop 2014-04-08 18:12:07 +01:00
pabristow
c05eb89f02 Removed test for zztest_max_digits10 as failing inexplicably for VS 12 only on teeks99 (passes locally) 2014-04-08 18:11:04 +01:00