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

434 Commits

Author SHA1 Message Date
John Maddock
69031ebe9d Added static assertion to catch use of long double function overloads when BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS is defined.
Made sure that if BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS is defined, then no long double overloads are actually instantiated by the tests.

[SVN r41007]
2007-11-11 14:05:50 +00:00
John Maddock
d37562d2ac Added needed macro suppression to use of isfinite.
[SVN r40969]
2007-11-09 16:57:42 +00:00
John Maddock
af3f1e97f5 Fix calls to fpclassify so they don't trigger macro expansion when fpclassify is a macro.
[SVN r40879]
2007-11-07 10:09:50 +00:00
John Maddock
fdac2f83cd Ooops, got the pp-logic wrong and disable long double support for all Unix platforms, instead of just Intel on Linux prior to version 10.
[SVN r40878]
2007-11-07 10:07:08 +00:00
John Maddock
8ff3199598 Disabled static assertions for compilers that don't support them.
[SVN r40843]
2007-11-06 16:58:46 +00:00
John Maddock
f9f9023daa Disabled long double support for Intel on Linux prior to version 10.
[SVN r40780]
2007-11-05 12:07:47 +00:00
John Maddock
098513f585 Added workaround for Sunpro not compiling the traits classes.
Added workaround for platforms where numeric_limits<>::denorm_min() does not return a denorm!
Updated Solaris error rates.

[SVN r40727]
2007-11-03 18:32:54 +00:00
John Maddock
25a040f5c2 Hopefully, take care of the remaining Tru64 failures: adjust >= test to > in some of the tests, and fix one expected error level for the incomplete beta function.
[SVN r40719]
2007-11-03 12:36:55 +00:00
John Maddock
4dad82d26a Added needed #include and using declaration.
[SVN r40693]
2007-11-02 18:26:47 +00:00
John Maddock
e875aee99a Changed concept code so there are no null-references any more (the code breaks on EDG based compilers otherwise).
[SVN r40499]
2007-10-27 11:27:19 +00:00
John Maddock
a35f87c6ea Removed redundant #define.
[SVN r40353]
2007-10-23 13:10:32 +00:00
Boris Gubenko
f54e683f16 fix typo in rev. 40321
[SVN r40323]
2007-10-23 03:44:33 +00:00
John Maddock
352d2bab85 Use __hppa to detect HP-UX on PA-RISC.
[SVN r40269]
2007-10-21 16:02:34 +00:00
John Maddock
82eb0636b9 Workaround for real_concept when there are no long double math functions.
Added HP-UX on PA RISC to list of platforms with no long double overloads.
Added macro expansion suppression code to declarations of sign and to it's usages (an AIX fix).

[SVN r40155]
2007-10-18 15:37:01 +00:00
John Maddock
3313f991c0 Fixes for the Sun-5.9 compiler: don't try and encode constants smaller than LDBL_MIN, the compiler chokes on it.
Fixes for STLport: long double stream operators are broken (streaming in appears not to work at all, streaming out can segfault if the value is too small).

[SVN r40083]
2007-10-16 15:41:57 +00:00
John Maddock
4ba0027365 Fixed lots of "inspect" issues: bad hyperlinks, tabs in source and missing licenses.
Tweaked some error levels again.

[SVN r40079]
2007-10-16 09:32:28 +00:00
John Maddock
b6aa138a79 Fixed most of the remaining Borland issues, and removed dependency to Boost.Lambda.
Added tentative fix for the Sunpro compilers.

[SVN r39971]
2007-10-13 16:23:18 +00:00
John Maddock
f51e500eea Lots of Borland specific patches: quite a few of the special-function tests do now do actually pass.
[SVN r39958]
2007-10-12 10:01:36 +00:00
John Maddock
aebe417ed0 Workaround for msvc+stlport.
[SVN r39900]
2007-10-10 19:12:46 +00:00
John Maddock
d4c1bb24c7 Added Compaq CXX long long workaround to real_concept.hpp.
Added missing forward declaration to ellint_1.hpp.
Adjusted native log1p support for aCC.
Removed bad forward declaration of fpclassify: correct declaration appears later in the file.
Adjusted compile_test/test_compile_result.hpp to not return a NULL reference.
Adjusted permitted error-limits for new platforms.
Split some of the tests into smaller units so we don't get compiler timeouts when building (hopefully!)

[SVN r39893]
2007-10-10 16:05:26 +00:00
John Maddock
8342ec648e Tentative Sunpro workaround.
[SVN r39884]
2007-10-10 09:31:44 +00:00
John Maddock
991567fe80 More Borland workarounds.
[SVN r39855]
2007-10-09 18:12:06 +00:00
John Maddock
2983887486 Changed call signatures to keep Borland happy.
[SVN r39842]
2007-10-09 14:49:04 +00:00
John Maddock
f154f8bf6f Disabled long double support on some platforms.
[SVN r39837]
2007-10-09 12:26:27 +00:00
John Maddock
8dc2b5673f Fix problem with GCC on Linux not finding std_real_concept overload for fmod.
[SVN r39834]
2007-10-09 11:15:11 +00:00
John Maddock
772c8ae7ca Initial math-toolkit commit.
Includes all code and tests, but no docs yet.

[SVN r39792]
2007-10-08 16:58:15 +00:00
John Maddock
3e62ef28f0 Fix Borland infinite looping issue.
[SVN r39723]
2007-10-06 11:12:33 +00:00
John Maddock
3a02a8b625 Fix #include case.
Add some needed forward declarations.

[SVN r39697]
2007-10-05 09:56:06 +00:00
John Maddock
899f4fbfd1 Added some more descriptive information to error messages.
[SVN r39667]
2007-10-03 09:32:35 +00:00
John Maddock
1c5fffdd28 Added workaround for apparently broken std::fmod(long double,long double) on Darwin.
Added more tracing macros to try and track down remaining Darwin issues.

[SVN r39650]
2007-10-02 09:30:41 +00:00
John Maddock
01604e79d3 Added some more trace messages.
[SVN r39637]
2007-10-01 10:24:11 +00:00
Paul A. Bristow
5d4d94b512 Surpressed unreachable code warning.
[SVN r39636]
2007-10-01 10:05:21 +00:00
John Maddock
164bbbf473 Updated debug-tracing macros.
Fixed epsilon so it works on MacOS with a 106-bit long double now.

[SVN r39593]
2007-09-29 09:40:16 +00:00
John Maddock
700ea50732 Fixes for VC-7.1.
[SVN r39478]
2007-09-22 17:00:29 +00:00
John Maddock
54ff3c6535 Fixed gcc-compiler errors (added missing typename's).
Fixed pesky warning in normal.hpp

[SVN r39476]
2007-09-22 11:35:26 +00:00
John Maddock
3d9e81a67e Added needed using declaration to cauchy.hpp.
Added needed #include to config.hpp.
Tightened up compile-tests.
Fixed compile tests so they build with VC++ earlier than VC8sp1.

[SVN r39471]
2007-09-22 09:17:21 +00:00
Paul A. Bristow
41b7db31cf Warning squashing and estimate to find
[SVN r39452]
2007-09-21 17:39:04 +00:00
Paul A. Bristow
8daab07912 Warning squashing and estimate to find
[SVN r39451]
2007-09-21 17:38:38 +00:00
John Maddock
542dbbce01 Added needed header include.
[SVN r39420]
2007-09-20 17:29:40 +00:00
John Maddock
3e53b99430 MSVC specific fix: gets thing building with /Za.
[SVN r39407]
2007-09-20 12:36:32 +00:00
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