0_0_38982294_16707.cpp: In member function 'double Geometry2::Point_2::Length() const':
0_0_38982294_16707.cpp:220:25: error: call of overloaded 'hypot(const __int128&, const __int128&)' is ambiguous
220 | return hypot(x, y); // sqrt(x * x + y * y)
| ~~~~~^~~~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/cmath:47,
from .\stdc++.h:114:
gcc-13.1.0/x86_64-w64-mingw32/include/math.h:881:25: note: candidate: 'double hypot(double, double)'
881 | extern double __cdecl hypot (double, double) __MINGW_ATTRIB_DEPRECATED_MSVC2005; /* in libmoldname.a */
| ^~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/cmath:2278:3: note: candidate: 'constexpr long double std::hypot(long double, long double)'
2278 | hypot(long double __x, long double __y)
| ^~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/cmath:2274:3: note: candidate: 'constexpr float std::hypot(float, float)'
2274 | hypot(float __x, float __y)
| ^~~~~
0_0_38982294_16707.cpp: In member function 'double Geometry2::Point_2::dis(Geometry2::Point_2&) const':
0_0_38982294_16707.cpp:224:25: error: call of overloaded 'hypot(__int128, __int128)' is ambiguous
224 | return hypot(x - other.x, y - other.y);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
gcc-13.1.0/x86_64-w64-mingw32/include/math.h:881:25: note: candidate: 'double hypot(double, double)'
881 | extern double __cdecl hypot (double, double) __MINGW_ATTRIB_DEPRECATED_MSVC2005; /* in libmoldname.a */
| ^~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/cmath:2278:3: note: candidate: 'constexpr long double std::hypot(long double, long double)'
2278 | hypot(long double __x, long double __y)
| ^~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/cmath:2274:3: note: candidate: 'constexpr float std::hypot(float, float)'
2274 | hypot(float __x, float __y)
| ^~~~~
0_0_38982294_16707.cpp: In member function 'double Geometry2::Line_2::get_angle()':
0_0_38982294_16707.cpp:293:29: error: call of overloaded 'atan2(__int128, __int128)' is ambiguous
293 | double k = atan2(ed.y - st.y, ed.x - st.x);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
gcc-13.1.0/x86_64-w64-mingw32/include/math.h:187:18: note: candidate: 'double atan2(double, double)'
187 | double __cdecl atan2(double _Y,double _X);
| ^~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/cmath:150:3: note: candidate: 'constexpr long double std::atan2(long double, long double)'
150 | atan2(long double __y, long double __x)
| ^~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/cmath:146:3: note: candidate: 'constexpr float std::atan2(float, float)'
146 | atan2(float __y, float __x)
| ^~~~~
|