0_0_36148660_8374.cpp: In function 'std::ostream& operator<<(std::ostream&, __int128)':
0_0_36148660_8374.cpp:20:12: error: call of overloaded 'abs(__int128&)' is ambiguous
if (abs(x) < 10)
^
0_0_36148660_8374.cpp:20:12: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/assert.h:17:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/cassert:43,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:33,
from 0_0_36148660_8374.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/stdlib.h:329:15: note: int abs(int)
int __cdecl abs(int _X);
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:47:0,
from 0_0_36148660_8374.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/cstdlib:174:3: note: long long int std::abs(long long int)
abs(long long __x) { return __builtin_llabs (__x); }
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/cstdlib:166:3: note: long int std::abs(long int)
abs(long __i) { return __builtin_labs(__i); }
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:41:0,
from 0_0_36148660_8374.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:91:3: note: constexpr long double std::abs(long double)
abs(long double __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:87:3: note: constexpr float std::abs(float)
abs(float __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:81:3: note: constexpr double std::abs(double)
abs(double __x)
^
|