Moved to endian-neutral 256/160-bit datatypes.

This commit is contained in:
Gav Wood 2014-01-12 20:30:15 +00:00
parent b883475b6c
commit 4fb83706c8

View File

@ -38,7 +38,7 @@ int main()
{
// Test dagger
{
Dagger d(0);
Dagger d((h256)0);
auto s = steady_clock::now();
cout << hex << d.eval(0);
cout << " " << dec << duration_cast<milliseconds>(steady_clock::now() - s).count() << " ms" << endl;
@ -46,7 +46,7 @@ int main()
cout << " " << dec << duration_cast<milliseconds>(steady_clock::now() - s).count() << " ms" << endl;
}
{
Dagger d(1);
Dagger d((h256)1);
auto s = steady_clock::now();
cout << hex << d.eval(0);
cout << " " << dec << duration_cast<milliseconds>(steady_clock::now() - s).count() << " ms" << endl;