Daniel James
4ef5d0d98c
Full namespace for std::size_t.
...
[SVN r37779]
2007-05-25 23:58:33 +00:00
Thomas Witt
244c6802b0
Hash warning patch 2 see Trac #952
...
[SVN r37737]
2007-05-22 03:55:10 +00:00
Thomas Witt
be0cd834a1
Hash warning patch see Trac #952
...
[SVN r37705]
2007-05-17 23:07:38 +00:00
Daniel James
e0c13b595d
Rolling back changes I shouldn't have checked in.
...
[SVN r37699]
2007-05-15 22:05:41 +00:00
Daniel James
5831163a21
Fix a couple of typos in the hash documentation.
...
[SVN r37697]
2007-05-15 19:54:42 +00:00
Daniel James
8f08a63793
Update the date in the hash documentation copyright block.
...
[SVN r37696]
2007-05-15 19:47:52 +00:00
Daniel James
8e0e4dbb6e
Add a missing bracket to the hash copyright documentation.
...
[SVN r37695]
2007-05-15 19:45:49 +00:00
Daniel James
8241c0a087
Clean up the 64-bit std::size_t workaround and hopefully suppress the warning
...
on 32-bit Visual C++.
[SVN r37694]
2007-05-15 19:44:46 +00:00
Daniel James
e8970a08f3
Another typo.
...
[SVN r37569]
2007-05-02 21:44:56 +00:00
Daniel James
891112a42f
Fix a typo.
...
[SVN r37568]
2007-05-02 21:43:51 +00:00
Daniel James
718fda8635
Group the functions in the hash reference to make it a little clearer.
...
[SVN r37567]
2007-05-02 21:39:13 +00:00
Daniel James
524335a091
Document boost::hash<T*>.
...
[SVN r37554]
2007-05-01 21:28:45 +00:00
Daniel James
f31d7a7613
Add missing bracket.
...
[SVN r37541]
2007-04-30 20:28:04 +00:00
Daniel James
586c98cb7e
Update the copyright in the hash documentation.
...
[SVN r37518]
2007-04-27 19:46:53 +00:00
Daniel James
74fc58cd13
Add reference documentation for boost::hash<T*>
...
[SVN r37517]
2007-04-27 19:44:18 +00:00
Daniel James
e5b0a03e57
Merge in the intel gcc workaround from RC_1_34_0.
...
[SVN r37428]
2007-04-12 20:37:27 +00:00
Daniel James
7438a90198
Remove an unrequired semi-colon.
...
[SVN r37427]
2007-04-12 20:34:59 +00:00
Daniel James
555fefae20
Try turning off a borland workaround in the new version of borland, as it
...
seems to be causing problems in the tests.
[SVN r37426]
2007-04-12 20:33:48 +00:00
Daniel James
4c24efeadf
Reverting the last change as it's not a main function so returning
...
'boost::report_errors' would be wrong. The main function is in
link_no_ext_test.cpp and does return 'boost::report_errors'.
[SVN r37064]
boost-1.34.0-beta1
2007-02-25 15:59:08 +00:00
Dave Abrahams
bf7e1328c4
Correct testing bugs:
...
either changing assert(...) or BOOST_ASSERT(...) to BOOST_TEST
(in my code only)
or adding "return boost::report_errors();" where it was clearly
missing (and a pure bug, in anyone's code).
or changing BOOST_TEST to BOOST_CHECK where the integer library
was clearly using Boost.Test and not returning report_errors().
[SVN r37063]
2007-02-25 15:28:02 +00:00
Daniel James
946d693768
Intel 9.1 with the gcc stdlib seems to segfault on call to std::asin and
...
std::acos. So for them I'm disabling that test - it isn't vital.
[SVN r37062]
2007-02-25 12:15:52 +00:00
Dave Abrahams
87a3e4f6f0
Correct testing bugs:
...
either changing assert(...) or BOOST_ASSERT(...) to BOOST_TEST
(in my code only)
or adding "return boost::report_errors();" where it was clearly
missing (and a pure bug, in anyone's code).
[SVN r37057]
2007-02-24 22:40:59 +00:00
Rene Rivera
aa9670ad2f
Remove obsolete Boost.Build v1 files.
...
[SVN r35880]
2006-11-06 17:10:46 +00:00
Daniel James
3ebd297644
Rename hash_detail::float_limits => hash_detail::limits, since it's also used
...
for integers in the tests.
[SVN r35559]
2006-10-11 18:58:40 +00:00
Daniel James
c2d8b6c92e
Use boost::hash_detail::float_limits in hash_number_test. This works around
...
OpenBSD's inaccurate numeric_limits<long double>.
[SVN r35558]
2006-10-11 18:50:59 +00:00
Daniel James
8aa2b19669
Only use the float.h macros on OpenBSD, it seems that on FreeBSD numeric_limits is actually a better option.
...
[SVN r35501]
2006-10-05 21:22:56 +00:00
Daniel James
64da418fb2
Fix a typo.
...
[SVN r35500]
2006-10-05 21:21:43 +00:00
Daniel James
a60b7d12f3
Remove checks for float macros, I was being over-paranoid.
...
[SVN r35349]
2006-09-26 23:28:34 +00:00
Daniel James
a08d42c10f
Attempting to work round the dodgy std::numeric_limits<long double> on
...
some BSDs.
[SVN r35345]
2006-09-26 20:35:58 +00:00
Daniel James
9430503530
Move the hash extensions into their own header, which hopefully makes the
...
extension implementation a little clearer. It also fixes a problem where the
visual C++ include once pragma was preventing the extensions from being loaded
on the second include.
[SVN r35314]
2006-09-24 20:00:47 +00:00
Daniel James
59643536dd
Fixed the use of a deprecated header in a test.
...
[SVN r35313]
2006-09-24 19:57:34 +00:00
Daniel James
c8845a10fb
Merge from head to RC_1_34_0.
...
[SVN r35289]
2006-09-23 14:53:07 +00:00
Daniel James
b165afccaa
Add copyright comments to the hash documentation source.
...
[SVN r35288]
2006-09-23 14:48:19 +00:00
Daniel James
b81d239dbb
Add a copyright comment to the hash reference documenation.
...
[SVN r34786]
2006-07-30 20:42:11 +00:00
Daniel James
64d717dcf5
Add copyright to the hash redirection page.
...
[SVN r34549]
2006-07-16 07:13:50 +00:00
Daniel James
f0176013b7
Add copyright to the hash redirection page.
...
[SVN r34549]
2006-07-16 07:13:50 +00:00
Daniel James
292d7a7ae5
Update the Digital Mars workarounds for the latest version.
...
[SVN r34526]
2006-07-13 07:54:41 +00:00
Daniel James
311bf0d6c5
The Digital Mars workarounds aren't required for the latest version.
...
[SVN r34510]
2006-07-12 10:13:45 +00:00
Daniel James
46654045d7
Comment out an assert which is giving bogus failures. On platforms where it isn't possible to detect NaN or infinity the full hash computation is performed on them. For NaN the result doesn't matter (since NaN != NaN), for infinity it should always give the same result), so the calculation works but unfortuanately, I don't know how to correctly check that v is what I expect in the assertion.
...
I could use a different hash function when I don't have fpclassify/fpclass but that shouldn't be necessary.
[SVN r34490]
2006-07-09 22:50:43 +00:00
Daniel James
572d82713b
Update copyright details.
...
[SVN r34390]
2006-06-25 09:59:05 +00:00
Daniel James
4283c17309
Avoid a warning on Visual C++
...
[SVN r34329]
2006-06-17 21:22:51 +00:00
Daniel James
8eb8ad993a
Add support for long long on win64 as that's the only 64-bit type on that platform (and std::size_t is 64 bit).
...
[SVN r34287]
2006-06-12 17:58:12 +00:00
Daniel James
d8c636ef9f
Tweak the float hashing algorithm to perform fewer calls to ldexp for some
...
types and possibly generate a better hash value.
[SVN r34273]
2006-06-11 15:29:09 +00:00
Daniel James
82cca89876
Improve support for floating point types with radix != 2.
...
[SVN r34272]
2006-06-11 14:52:55 +00:00
Daniel James
3b947c29de
Update the hash library acknowledgements.
...
[SVN r34271]
2006-06-11 14:31:51 +00:00
Daniel James
fb20d59aa8
Get hashing std::size_t working on 64-bit Visual C++.
...
[SVN r34253]
2006-06-08 22:12:16 +00:00
Daniel James
ba4c0abf5d
Add reference for boost::hash_value<std::complex>.
...
[SVN r34209]
2006-06-06 21:03:03 +00:00
Daniel James
6ee55d99e7
Add a test for hashing complex numbers.
...
[SVN r34208]
2006-06-06 20:52:28 +00:00
Daniel James
a4b51721db
Oops again, I checked in the wrong version of hash.hpp, which had a broken
...
version of boost::hash_value<complex> in it. So fix that.
[SVN r34207]
2006-06-06 20:51:24 +00:00
Daniel James
cae86235d5
Oops, get the test for long long working.
...
[SVN r34206]
2006-06-06 20:48:01 +00:00