Commit graph

20 commits

Author SHA1 Message Date
Abit
33215ffb6e Merge pull request #21 from pmconrad/variant_fix
Variant fix
2019-08-20 11:25:15 +02:00
Peter Conrad
10a857ee78 Merge pull request #20 from abitmore/fix-serialization
Fix pack/unpack serialization
2019-08-20 10:58:22 +02:00
pbattu
00efb88ac7 fc changes to support ubuntu-18.04 upgrade 2019-05-21 18:42:14 -03:00
theoreticalbts
5f43c06bae uint128: Implement popcount() 2015-07-13 17:01:11 -04:00
Eric Frias
3508e0c034 Add overloads of comparison operators to allow comparison of safe/uint128 and native integer classes 2015-05-19 10:03:03 -04:00
theoreticalbts
3bf3b0c9b4 uint128.hpp: Reflect uint128 2015-05-06 16:52:49 -04:00
Nathan Hourt
4194a609c2 Allow hashing of uint128 2015-03-06 16:41:52 -05:00
theoretical
27e224b012 uint128: Make to_integer(), to_uint64() assert magnitude
- All places these are used already handle magnitude checks correctly
- As a "bit-twiddling" method, low_bits() truncates
- As a "semantics preserving type conversion" method, to_uint64() asserts
- Add low_32_bits() as a "bit-twiddling" non-asserting to_integer() equivalent
2015-01-30 13:19:01 -05:00
theoretical
6ecb55ac2e Implement full product for uint128 * uint128 -> 256-bit result 2015-01-07 11:20:34 -05:00
Daniel Larimer
3eaa6a3f65 adding mod to uint128 2014-05-23 21:38:05 -04:00
Eric Frias
2837892ec0 Upgrade to new version of city_hash library. This version has performance improvements, plus implements a variant with 32-bit output which will quiet some compiler warnings on win32. 2014-05-14 17:11:36 -04:00
Daniel Larimer
0db28ec6de Merge pull request #3 from wackou/fix_clang_compile
Fix clang compile
2014-02-06 02:46:43 -05:00
vogel76
d2eefb7ed4 [BW]: [Ign] #pragma warning enclosed into _MSC_VER to avoid gcc complaining
[BW]: [NIP] Added LLCONST and ULLCONST macros to safely declare large literals incl. setting its type and avoid gcc compile error this way.
2014-01-29 13:09:52 +01:00
vogel76
10a6e76375 [BW]: [Ign] Fixed compile errors (missing < operator on fc::enum_type
[BW]: [Ign] Eliminated some annoying compiler warnings.
2014-01-29 12:52:13 +01:00
Nicolas Wack
271781f78c Fix compilation with clang/libc++
The issue was that redeclaring the hash template in the code somehow seems to shadow the declaration that is done in <functional> and <memory> and afterwards the template specialization of the hash function seems to use our redefined template instead of libc++’s one (most likely due to the fact that libc++ uses an inline namespace inside std)
2014-01-19 19:30:42 +01:00
Daniel Larimer
9410980885 various updates 2013-08-23 20:14:46 -04:00
dnotestein
94ce5cd9f2 more windows related changes, check what I was thinking with that BOOST1_51 when not in a hurry, maybe it should just be removed now 2013-08-10 22:11:59 -04:00
Daniel Larimer
c8839553c0 updated 128bit int math and bigint 2013-07-28 02:13:31 -04:00
Daniel Larimer
637372bbc2 unify city uint128 with new uint128 class 2013-07-26 23:26:51 -04:00
Daniel Larimer
29a1346d05 adding uint128 type 2013-07-26 23:20:06 -04:00