2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-30 20:12:09 +00:00
Commit Graph

321 Commits

Author SHA1 Message Date
John Maddock
7bbaeabe6b Fix for Darwin: not all versions have 106-bit long doubles.
[SVN r39048]
2007-08-29 09:00:28 +00:00
John Maddock
95559eb26a Updated isnan so that it works even when the system does a "#define isnan isnan".
Updated Jamfiles to reflect new file names, and suppress some more warnings.

[SVN r39031]
2007-08-28 12:34:14 +00:00
John Maddock
0a62121792 Made max-iterations permitted before we give up a policy rather than a macro or - worse - an ad-hoc value.
At the same time cleared up a lot of gcc-specific signed/unsigned comparison warnings.

[SVN r38970]
2007-08-26 17:39:53 +00:00
Paul A. Bristow
a7f80bca1d 1st cut - but complement does NOT work.
[SVN r38967]
2007-08-26 16:38:39 +00:00
Paul A. Bristow
f8578189de added copyright notice & comment & includes find_scale & location
[SVN r38933]
2007-08-25 12:10:03 +00:00
Paul A. Bristow
871921e322 added copyright notice & comment
[SVN r38932]
2007-08-25 12:09:22 +00:00
Paul A. Bristow
9ef29b5580 Copyright & cosmetic
[SVN r38931]
2007-08-25 12:02:41 +00:00
Paul A. Bristow
69e15fb6dc Removed warning suppression push'n'pop
[SVN r38930]
2007-08-25 11:59:56 +00:00
Paul A. Bristow
a76dd8ee89 Copyright & cosmetic
[SVN r38929]
2007-08-25 11:57:22 +00:00
Paul A. Bristow
c915c8b18c added synonyms location & scale for mean & sd
[SVN r38925]
2007-08-25 09:02:13 +00:00
John Maddock
bb1931edec Changed "policy" directory to "policies" to match the namespace name.
[SVN r38780]
2007-08-20 12:43:32 +00:00
John Maddock
9cf861c275 Hopefully fixed Intel-regression in release mode: if the data points are very close to linear the cubic interpolation may fail and generate a NaN in highly optimised code.
[SVN r38778]
2007-08-20 09:31:28 +00:00
John Maddock
934c402c14 Fixed some GCC-4.2 warnings in unchecked_factorial.hpp.
Fixed some Intel-10 compile errors in error_handling.hpp.
Updated performance/main.cpp to print configuration info.

[SVN r38762]
2007-08-19 16:37:56 +00:00
Paul A. Bristow
15d515f8b8 layout & comments only.
[SVN r38719]
2007-08-16 14:18:05 +00:00
Paul A. Bristow
8bdb25f7c7 More comments changed - and commented-out an unreachable code warning suppression - believed not now needed.
[SVN r38718]
2007-08-16 14:11:07 +00:00
John Maddock
e6a8118e0c Fixed a few more regressions, and quashed a few warnings.
[SVN r38712]
2007-08-16 12:22:22 +00:00
John Maddock
6d5fb5a5d6 Updated include tests, to instantiate the respective code. Fixed any errors that cropped up and suppressed rather a lot of warnings.
Updated docs as well.

[SVN r38692]
2007-08-15 18:31:18 +00:00
John Maddock
56852c989f Fix gcc-mw compilation.
Added performance tuning options to performance app.

[SVN r38660]
2007-08-14 16:29:39 +00:00
John Maddock
06f22e5d79 Reinstated tools::digits<>(): it has it's uses as a default backup used by policy::digits<>(), and makes the conceptual requirement a lot easier.
[SVN r38649]
2007-08-14 10:38:54 +00:00
Paul A. Bristow
09ade40af2 Correction to comment, now has a typedef for binomial_distribution. No change to code.
[SVN r38610]
2007-08-12 14:58:34 +00:00
John Maddock
c3ffe27f16 Changed the name of some of the discrete quantile policies, and more or less finished the policy tutorial.
[SVN r38609]
2007-08-12 09:24:08 +00:00
John Maddock
e2e94afe64 Minor fix to previous policy update.
Lots of warning suppression.
Updated docs, and added the start of a policy tutorial.

[SVN r38415]
2007-08-03 13:14:29 +00:00
Paul A. Bristow
cb82bea11e Paul's Big policy revison
[SVN r38413]
2007-08-03 10:13:47 +00:00
John Maddock
2c4e1860f0 Fixed gamma-function regressions.
Tidied up function calls in t_distribution_inv.hpp.
Tidied up casts in erf.hpp

[SVN r38396]
2007-08-02 12:06:13 +00:00
John Maddock
fa15867c49 Quashed a few warnings.
[SVN r7592]
2007-07-30 12:56:13 +00:00
Paul A. Bristow
1e4265c829 warn 4100 unref formal parameter supressed by making name a comment
[SVN r7584]
2007-07-30 11:10:16 +00:00
Paul A. Bristow
e19d19ec66 Suppressed wqarning loss of accuracy conversion to T valuetype by explicit T()
result = T(z * 1.125 + z * 0.003379167095512573896158903121545171688L);

[SVN r7583]
2007-07-30 09:31:20 +00:00
Douglas Gregor
d39e962ee0 Fix eol-style and mime-types
[SVN r7564]
2007-07-27 00:28:00 +00:00
Paul A. Bristow
f1f6a22a6a warn 4100 unref formal parameter supressed by making name a comment
[SVN r7551]
2007-07-26 16:14:11 +00:00
Paul A. Bristow
e543368b8d suppressed 4100 unref formal parameter
after over-enthusiastic changing name(s) to comment.

[SVN r7550]
2007-07-26 16:12:32 +00:00
John Maddock
e602f59025 Added typedef to binomial: there is no longer any name clash with the "binomial_coefficient" function.
Updated distribution docs to bring them into synch with the policy based code.  Still a few "TODO" sections at present.

[SVN r7545]
2007-07-26 12:50:29 +00:00
Paul A. Bristow
2a64206d94 added copyright and a few comments
[SVN r7544]
2007-07-26 11:31:17 +00:00
John Maddock
cbb289228f Mostly fixed real_concept failures on HP-UX.
[SVN r7538]
2007-07-25 18:05:46 +00:00
John Maddock
472614473a Merged policy code.
[SVN r7536]
2007-07-25 11:51:46 +00:00
Paul A. Bristow
2d15d4c712 layout only
[SVN r7426]
2007-07-14 11:22:18 +00:00
John Maddock
9d6b58927e Added VC7.1 fix so that the header interacts OK with Boost.Rational.
[SVN r7335]
2007-07-02 09:46:52 +00:00
Paul A. Bristow
1454c06994 T x = 0; // Set to a safe zero to avoid a
// MSVC 2005 warning C4701: potentially uninitialized local variable 'x' used
   // But code inspection appears to ensure that x IS assigned whatever the code path.


[SVN r7171]
2007-06-26 14:01:06 +00:00
Paul A. Bristow
2ca7a75bf3 Warning suppressed by comment out unused parameter name
[SVN r7170]
2007-06-26 13:59:16 +00:00
Paul A. Bristow
113f82d441 Control of compile options via macro - to be superseded by policy
[SVN r7169]
2007-06-26 13:42:30 +00:00
John Maddock
6972d2d32b Fix for failing release mode test.
[SVN r7110]
2007-06-20 15:23:10 +00:00
John Maddock
e74e2ffe1d Added some boost::math:: qualifiers to disambiguate between ::expm1 and boost::math::expm1.
[SVN r7084]
2007-06-17 15:43:56 +00:00
Douglas Gregor
f98b790432 Set MIME types and end-of-line styles globally
[SVN r7018]
2007-06-12 22:09:40 +00:00
John Maddock
cd9dfe5139 Performance optimisations: added Cornish-Fisher style expansions to give much better initial approximations to the inverses. Optimised Student's T quantile so that only one Halley step is taken at double precision.
[SVN r4489]
2007-06-07 17:42:22 +00:00
John Maddock
75a49073f6 Added needed using declaration.
[SVN r4486]
2007-06-07 17:37:23 +00:00
John Maddock
8b93bb6c96 Added acos, and changed asin to use Halley iteration rather than Newton Raphson.
[SVN r4485]
2007-06-07 17:36:31 +00:00
John Maddock
8b8ad2cd07 Oops, previous commit on this file introduced a bug, this is the fix.
[SVN r4484]
2007-06-07 17:34:19 +00:00
John Maddock
2f783813ba Bug Fix: If we reach a denormalised result and it's still not small enough, return zero as we're not going to find a better value.
[SVN r4452]
2007-06-05 09:20:23 +00:00
John Maddock
23b52e6a89 Bug fix: fancy logic only works for arguments > 1, just use straight sin/cos evaluation for small args.
[SVN r4451]
2007-06-05 09:15:22 +00:00
John Maddock
6e7d2e4984 Bug fix: denormalised values are just as bad for the subsequent logic as a zero.
[SVN r4450]
2007-06-05 09:14:03 +00:00
John Maddock
b548cab386 Remove unneeded ; which trips up gcc-4.x
[SVN r4413]
2007-06-01 12:41:47 +00:00