mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Moved to endian-neutral 256/160-bit datatypes.
This commit is contained in:
parent
b883475b6c
commit
4fb83706c8
4
main.cpp
4
main.cpp
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user