mirror of
https://github.com/luxfi/intx.git
synced 2026-10-30 16:22:26 +00:00
11 lines
269 B
C++
11 lines
269 B
C++
// intx: extended precision integer library.
|
|
// Copyright 2019-2020 Pawel Bylica.
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
#include <intx/intx.hpp>
|
|
|
|
int main(int argc, char**)
|
|
{
|
|
return static_cast<int>(intx::uint512{argc} / (intx::uint512{1} << 111));
|
|
}
|