Commit Graph

31 Commits

Author SHA1 Message Date
debris c694d21170 uint tests are compiling again, fixed appveyor.yml and .travis.yml 2018-09-25 11:21:20 +01:00
NikVolf 13195b7bc9 fix div assign 2018-08-22 17:43:34 +03:00
NikVolf 78426954ad more fixes 2018-08-22 17:06:22 +03:00
Nikolay Volf 79985a0903
bring back final line 2018-08-22 16:57:32 +03:00
Nikolay Volf 562aecfe00
Merge branch 'master' into nv 2018-08-22 16:56:54 +03:00
David Palm 1486608f50 Merge branch 'master' into dp/refactor/add-conversions
* master:
  fix patricia-trie bench compilation
  Remove U128 and bump version to 0.4
  Use exported types in benchmark
2018-08-22 14:57:20 +02:00
David Palm 78d17b4f80 Don't duplicate logic 2018-08-22 14:06:56 +02:00
Nikolay Volf 47b27711df
Remove outdated comments and switches 2018-08-22 14:35:12 +03:00
David Palm f94c73537f Need conversion from ref too 2018-08-22 13:28:33 +02:00
David Palm 283b13f114 Fix [u8; $n_words] conversion
Remove unneeded ref conversion impl
Better test value
2018-08-22 11:28:11 +02:00
David Palm 72e84868e8 Avoid copy 2018-08-22 10:47:27 +02:00
David Palm 6d47b02689 Add conversion from [u8; *]
Conversions I skipped when porting over stuff from bigint but that turned out to be useful.
2018-08-21 16:05:41 +02:00
David Palm d9de1e1271 Remove U128 and bump version to 0.4 2018-08-20 09:01:22 +02:00
David Palm 706bed1a79 Use exported types in benchmark 2018-08-14 17:59:59 +02:00
David Palm 9261b8519e Move conversion inside macro 2018-08-13 16:51:32 +02:00
David Palm b4b5c6f626 Fix repo meta-data key
Use --release to run tests
2018-08-13 16:07:54 +02:00
David Palm d3c335e7f7 Add impl to converto from U256 to [u8; 32] 2018-08-13 15:54:21 +02:00
David Palm 97ecf175c8 Export U256 and U512 2018-08-13 13:56:23 +02:00
David Palm 4336907eac move display/debug funtionality back to `std`-gated macro 2018-08-10 19:45:11 +02:00
David Palm 33567263fa Use rustc-hex without default features 2018-08-10 19:38:14 +02:00
David Palm 13d7356657 Run uint no_std tests 2018-08-10 17:56:05 +02:00
David Palm ae247ae84d Port over no_std formatting and use rustc_hex 2.0 to make tests pass in no_std 2018-08-10 17:53:55 +02:00
David Palm 16012b3943 Add benchmark 2018-08-10 14:11:53 +02:00
David Palm 9609d2e72d Remove asm and port over performance improvements from `bigint` 2018-08-10 14:09:09 +02:00
David Palm b0cf5d1cf5 Remove duplicated line 2018-07-30 16:10:31 +02:00
David Palm dfc1c7959a Silence warnings when running tests 2018-07-30 15:20:41 +02:00
David Palm 70a778a43c cleanup 2018-07-13 18:35:00 +02:00
David Palm f8ee2e6e1a Move tests from `primitives/tests` to `uint`
Fix wonky example causing long compile times
2018-07-13 17:58:26 +02:00
David Palm 646fe8cfb7 Add 'uint/tests/' from commit '716691c42b794ad004d95df5ecdc77fe7d3b9d3b'
git-subtree-dir: uint/tests
git-subtree-mainline: 9144702316
git-subtree-split: 716691c42b
2018-07-13 15:19:51 +02:00
David Palm bd8ea85d50 Add uint to workspace
Fix compiler warning
Bump version
2018-07-13 12:23:15 +02:00
David Palm 9c065b76b0 Add 'uint/' from commit '043569906ba7a817abde33877fe1f71cdbc87749'
git-subtree-dir: uint
git-subtree-mainline: d2e4ec5b31
git-subtree-split: 043569906b
2018-07-13 12:03:03 +02:00