2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-27 19:12:08 +00:00
Commit Graph

341 Commits

Author SHA1 Message Date
Paul A. Bristow
4bd52bfe7a Changechanged to use
if((boost::math::isinf)(x))
{
  if(x < 0) return 0;
  return 1;
}
 to get rid of 4127 warnings

but still need to supress 4127


[SVN r39402]
2007-09-20 11:37:57 +00:00
Paul A. Bristow
611653a1f8 changed to use
if((boost::math::isinf)(x))
{
  if(x < 0) return 0;
  return 1;
}
 to get rid of 4127 warnings

[SVN r39345]
2007-09-17 10:05:26 +00:00
Paul A. Bristow
abc0337ab9 4127 warning squashed
[SVN r39343]
2007-09-17 09:17:42 +00:00
Paul A. Bristow
fdef88709d changed to allow pdf and cdf infinity.
[SVN r39310]
2007-09-16 10:09:51 +00:00
Paul A. Bristow
0f852a9292 Try to cure test failures.
[SVN r39299]
2007-09-15 15:20:44 +00:00
John Maddock
76acd7ddf3 Fix for Boost.TR1 compatibility: it prevents recursive includes if we do things this way.
[SVN r39297]
2007-09-15 11:20:24 +00:00
John Maddock
c820ea58fc Fix for failing example: added heuristic to up the multiplication factor if we don't bracket the root quickly.
[SVN r39296]
2007-09-15 11:19:20 +00:00
John Maddock
6bd903d454 Updated NTL::RR support with a thin wrapper class: RR can now be used unmodified via the supplied wrapper.
[SVN r39239]
2007-09-13 16:56:24 +00:00
Paul A. Bristow
e334918936 added error messages, but need complement version with policy still (and name of distribution & policy?)
[SVN r39232]
2007-09-13 11:21:17 +00:00
Paul A. Bristow
c394aa0065 cosmetic
[SVN r39210]
2007-09-12 09:42:58 +00:00
Paul A. Bristow
95bc17616e added check location and check_x (random deviate)
and changed check scale to not permit 0

[SVN r39209]
2007-09-12 09:40:10 +00:00
Paul A. Bristow
bebff763db 1st version, but problem with sign in complement
[SVN r39184]
2007-09-10 17:50:32 +00:00
John Maddock
486f5a1d3e Changed: "using namespace std;" to a more specific using declaration.
[SVN r39110]
2007-09-03 11:51:07 +00:00
John Maddock
df3533c2d7 Added explanatory notes.
[SVN r39077]
2007-08-30 17:21:49 +00:00
John Maddock
d0aa223204 Added some type traits so we can do concept checking where required.
Updated find_location to use the traits.
Added tests for traits.hpp.
Updated Jamfile.v2 with new tests.

[SVN r39076]
2007-08-30 17:08:46 +00:00
Paul A. Bristow
7a6b00e663 tests now pass.
[SVN r39071]
2007-08-30 14:05:43 +00:00
John Maddock
9cdc280e69 Instrument erf better.
[SVN r39068]
2007-08-30 10:20:34 +00:00
John Maddock
762e728d95 Added some instrumentation to help track down some Mac OS failures.
[SVN r39066]
2007-08-30 10:13:13 +00:00
Paul A. Bristow
b523f0e3b7 updated copyright date
[SVN r39050]
2007-08-29 14:09:34 +00:00
John Maddock
51c6df2843 Disabled broken includes, will re-enable later when those headers are complete.
[SVN r39049]
2007-08-29 09:02:53 +00:00
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