ee28cdbcd5On Cygwin use a binary based hash function for floating point numbers, as Cygwin doesn't have decent floating point functions for long doubles.
Daniel James
2007-10-05 09:46:22 +0000
3b30bda727Fix an if statement.
Daniel James
2007-10-05 09:43:01 +0000
48c2728dd5Add proper support for long longs and unsigned long longs.
Daniel James
2007-08-27 18:16:54 +0000
58285d414eComment out -Wextra because it doesn't work on older versions of gcc.
Daniel James
2007-08-27 17:59:54 +0000
90c422e846Remove hash_complex_test - it should have been removed when I reverted to 1.34.1
Daniel James
2007-08-24 02:33:43 +0000
db8825c7d1Change a comparison in the float hashing code, which can cause a warning on gcc. Although the warning doesn't currently turn up in this branch, it could be caused quite easily. Originally reported in:
Daniel James
2007-08-24 02:01:47 +0000
9211fcba2eAdd some missing hash_value documentation for the new overloads.
Daniel James
2007-08-24 01:56:47 +0000
f15ea62785Add extra overloads for hash_value to cover all the specializations of boost::hash. Fixes 1095
Daniel James
2007-08-24 01:44:15 +0000
bd102b0479Merge some documentation improvements from the development branch.
Daniel James
2007-08-24 01:16:54 +0000
2ae3f472c1Remove the errno check when hashing floating point numbers. It's not really needed and was causing problems on the Microsoft Windows Smarthone Edition platform. Fixes#1064.
Daniel James
2007-08-24 01:11:33 +0000
33643fd6b3Update the copyright in the hash library.
Daniel James
2007-08-24 01:05:36 +0000
aa7a824c6dCopy hash library from 1.34.1 over trunk.
Daniel James
2007-08-24 00:42:19 +0000
567290d703Avoid a comparison with zero warning on gcc when compiling with -Wextra.
Daniel James
2007-08-15 14:35:39 +0000
59064fed23Test the hash library with warning level 4 on Visual C++ - although there's still one warning for hashing long doubles.
Daniel James
2007-08-14 09:53:55 +0000
8d271da155Add -Wsign-promo to the hash test compile flags since I'm now trying to avoid the warning. I still need to check that it won't break older versions of gcc.
nobody
2007-08-10 11:22:54 +0000
4e59762347Add some missing 'inline's.
nobody
2007-08-10 11:08:19 +0000
fbe0c3eecaAdd overloads of hash_value for more built in types. They're not strictly needed and aren't in the original specifiction but they avoid a warning. See ticket #1095 for details.
nobody
2007-08-10 10:32:21 +0000
0728daf92dDrop the v1 Jamfiles.
Daniel James
2007-08-08 18:26:51 +0000
049552f71fThis commit was manufactured by cvs2svn to create tag 'Version_1_34_1'.
nobody
2007-07-24 19:28:14 +0000
d25ca5a376Put the borland workarounds back - it still seems to need them. Will probably have to do something else on top of this for any problems this causes.
Daniel James
2007-05-27 09:28:50 +0000
15d9d535a9Update the copyright in more hash files.
Daniel James
2007-05-27 09:09:28 +0000
27d2c57873Update copyright on hash headers.
Daniel James
2007-05-27 09:07:09 +0000
4ef5d0d98cFull namespace for std::size_t.
Daniel James
2007-05-25 23:58:33 +0000
244c6802b0Hash warning patch 2 see Trac #952
Thomas Witt
2007-05-22 03:55:10 +0000
be0cd834a1Hash warning patch see Trac #952
Thomas Witt
2007-05-17 23:07:38 +0000
e0c13b595dRolling back changes I shouldn't have checked in.
Daniel James
2007-05-15 22:05:41 +0000
5831163a21Fix a couple of typos in the hash documentation.
Daniel James
2007-05-15 19:54:42 +0000
8f08a63793Update the date in the hash documentation copyright block.
Daniel James
2007-05-15 19:47:52 +0000
8e0e4dbb6eAdd a missing bracket to the hash copyright documentation.
Daniel James
2007-05-15 19:45:49 +0000
8241c0a087Clean up the 64-bit std::size_t workaround and hopefully suppress the warning on 32-bit Visual C++.
Daniel James
2007-05-15 19:44:46 +0000
e8970a08f3Another typo.
Daniel James
2007-05-02 21:44:56 +0000
891112a42fFix a typo.
Daniel James
2007-05-02 21:43:51 +0000
718fda8635Group the functions in the hash reference to make it a little clearer.
Daniel James
2007-05-02 21:39:13 +0000
524335a091Document boost::hash<T*>.
Daniel James
2007-05-01 21:28:45 +0000
f31d7a7613Add missing bracket.
Daniel James
2007-04-30 20:28:04 +0000
586c98cb7eUpdate the copyright in the hash documentation.
Daniel James
2007-04-27 19:46:53 +0000
74fc58cd13Add reference documentation for boost::hash<T*>
Daniel James
2007-04-27 19:44:18 +0000
e5b0a03e57Merge in the intel gcc workaround from RC_1_34_0.
Daniel James
2007-04-12 20:37:27 +0000
7438a90198Remove an unrequired semi-colon.
Daniel James
2007-04-12 20:34:59 +0000
555fefae20Try turning off a borland workaround in the new version of borland, as it seems to be causing problems in the tests.
Daniel James
2007-04-12 20:33:48 +0000
4c24efeadfReverting 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'.
Daniel James
2007-02-25 15:59:08 +0000
bf7e1328c4Correct testing bugs:
Dave Abrahams
2007-02-25 15:28:02 +0000
946d693768Intel 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.
Daniel James
2007-02-25 12:15:52 +0000
87a3e4f6f0Correct testing bugs:
Dave Abrahams
2007-02-24 22:40:59 +0000
3ebd297644Rename hash_detail::float_limits => hash_detail::limits, since it's also used for integers in the tests.
Daniel James
2006-10-11 18:58:40 +0000
c2d8b6c92eUse boost::hash_detail::float_limits in hash_number_test. This works around OpenBSD's inaccurate numeric_limits<long double>.
Daniel James
2006-10-11 18:50:59 +0000
8aa2b19669Only use the float.h macros on OpenBSD, it seems that on FreeBSD numeric_limits is actually a better option.
Daniel James
2006-10-05 21:22:56 +0000
64da418fb2Fix a typo.
Daniel James
2006-10-05 21:21:43 +0000
a60b7d12f3Remove checks for float macros, I was being over-paranoid.
Daniel James
2006-09-26 23:28:34 +0000
a08d42c10fAttempting to work round the dodgy std::numeric_limits<long double> on some BSDs.
Daniel James
2006-09-26 20:35:58 +0000
9430503530Move 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.
Daniel James
2006-09-24 20:00:47 +0000
59643536ddFixed the use of a deprecated header in a test.
Daniel James
2006-09-24 19:57:34 +0000
c8845a10fbMerge from head to RC_1_34_0.
Daniel James
2006-09-23 14:53:07 +0000
b165afccaaAdd copyright comments to the hash documentation source.
Daniel James
2006-09-23 14:48:19 +0000
b81d239dbbAdd a copyright comment to the hash reference documenation.
Daniel James
2006-07-30 20:42:11 +0000
64d717dcf5Add copyright to the hash redirection page.
Daniel James
2006-07-16 07:13:50 +0000
f0176013b7Add copyright to the hash redirection page.
Daniel James
2006-07-16 07:13:50 +0000
292d7a7ae5Update the Digital Mars workarounds for the latest version.
Daniel James
2006-07-13 07:54:41 +0000
311bf0d6c5The Digital Mars workarounds aren't required for the latest version.
Daniel James
2006-07-12 10:13:45 +0000
46654045d7Comment 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.
Daniel James
2006-07-09 22:50:43 +0000
572d82713bUpdate copyright details.
Daniel James
2006-06-25 09:59:05 +0000
4283c17309Avoid a warning on Visual C++
Daniel James
2006-06-17 21:22:51 +0000
8eb8ad993aAdd support for long long on win64 as that's the only 64-bit type on that platform (and std::size_t is 64 bit).
Daniel James
2006-06-12 17:58:12 +0000
d8c636ef9fTweak the float hashing algorithm to perform fewer calls to ldexp for some types and possibly generate a better hash value.
Daniel James
2006-06-11 15:29:09 +0000
82cca89876Improve support for floating point types with radix != 2.
Daniel James
2006-06-11 14:52:55 +0000
3b947c29deUpdate the hash library acknowledgements.
Daniel James
2006-06-11 14:31:51 +0000
fb20d59aa8Get hashing std::size_t working on 64-bit Visual C++.
Daniel James
2006-06-08 22:12:16 +0000
ba4c0abf5dAdd reference for boost::hash_value<std::complex>.
Daniel James
2006-06-06 21:03:03 +0000
6ee55d99e7Add a test for hashing complex numbers.
Daniel James
2006-06-06 20:52:28 +0000
a4b51721dbOops 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.
Daniel James
2006-06-06 20:51:24 +0000
cae86235d5Oops, get the test for long long working.
Daniel James
2006-06-06 20:48:01 +0000
81af8bc170Document support for long long.
Daniel James
2006-06-06 20:26:25 +0000
59adb10b3aAdd tests for long long to the numeric hash tests.
Daniel James
2006-06-06 20:14:55 +0000
3b29b95b8eAdd support for long long to Boost.Hash.
Daniel James
2006-06-06 20:13:33 +0000
9dd1099e28Merge VC7 workaround from HEAD.
Daniel James
2006-06-06 17:38:38 +0000
855ebe6b69Fix an embarassing typo.
Daniel James
2006-06-06 08:20:04 +0000
e4b7765da1Workaround for Visual C++ 7.
Daniel James
2006-06-06 08:14:23 +0000
81e3119c51Merge hash workarounds for Digital Mars to the release branch.
Daniel James
2006-05-20 07:34:48 +0000
f3e6c4e96aHash workarounds for Digital Mars.
Daniel James
2006-05-07 17:52:38 +0000
86eae42d6fMerge OS X hash float fix from head to rc_1_34_0.
Daniel James
2006-05-03 18:34:43 +0000
58aec4566aDon't use fpclassify for hashing on OS X.
Daniel James
2006-04-30 19:16:08 +0000
58033a375fMerge hash documentation changes to release branch.
Daniel James
2006-04-09 12:14:23 +0000
9cbe356636Name TR1 properly in the hash introduction.
Daniel James
2006-04-09 09:57:47 +0000
906f897e4aFix typo in hash reference documentation and update links to more recent versions of TR1 and the issue list.
Daniel James
2006-04-09 09:46:46 +0000
32d68419ecMerge hash reference changes from release branch.
Daniel James
2006-04-06 20:10:57 +0000
77ac0f4198Rearrange the results table in the hash_value docs. Hopefully this will be clearer.
Daniel James
2006-04-06 19:55:06 +0000
e1c1fc681dMerge hash documentation changes to release branch.
Daniel James
2006-03-28 17:05:43 +0000
6caa46edabPut the reference documentation overloads of 'hash_value' into a single page.
Daniel James
2006-03-28 17:02:49 +0000
c81a6bee4eFix typo in the hash tutorial.
Daniel James
2006-03-28 16:46:49 +0000
e592b7f057Update the copyright comments in the hash headers.
Daniel James
2006-03-18 15:54:53 +0000
da8405cb69Update the copyright comments in the hash tests and documentation.
Daniel James
2006-03-18 15:49:21 +0000
39570c232cImprove the 'blurbs' in the hash documentation.
Daniel James
2006-03-14 22:42:52 +0000
7770a516feAdd a note about the BOOST_HASH_NO_EXTENSIONS macro, and fix some typos and improve the markup in the hash documentation.
Daniel James
2006-03-09 23:59:19 +0000
49a87ce365Add a list of changes to the hash library documentation, update the acknowledgements, and fix a few typos.
Daniel James
2006-03-07 22:50:45 +0000
8e8f7a8d11Add the specializations of boost::hash to the reference documentation.
Daniel James
2006-03-07 22:49:27 +0000
60d6f2fabdUse an array instead of std::set in hash_no_ext_fail_test, as that seems like a better test for older compilers.
Daniel James
2006-03-01 22:44:27 +0000
22a2c49db9Only check that hash functions for the different infinities are equal when the infinities are equal...
Daniel James
2006-02-28 23:15:43 +0000
3ce1a740b7Don't forward declare STL containers when using STLport - this is slightly over the top as the forward declarations seem to work on mingw-3_4_4-stlport-5_0, so maybe it's just a Visual C++ problem, but at this stage I'd rather keep things simple.
Daniel James
2006-02-28 20:47:59 +0000
d11d2dd17aReintroduce workaround for hashing const built-in array on Visual C++.
Daniel James
2006-02-28 00:49:14 +0000