In file included from .\stdc++.h:58:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numeric: In instantiation of 'constexpr std::common_type_t<_Tp1, _Tp2> std::lcm(_Mn, _Nn) [with _Mn = double; _Nn = long long int; common_type_t<_Tp1, _Tp2> = double]':
0_0_38771577_11045.cpp:61:12: required from here
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numeric:181:21: error: static assertion failed: std::lcm arguments must be integers
181 | static_assert(is_integral_v<_Mn> && is_integral_v<_Nn>,
| ^~~~~~~~~~~~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numeric:181:21: note: 'std::is_integral_v<double>' evaluates to false
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:60,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algobase.h:64,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/algorithm:60,
from .\stdc++.h:51:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/type_traits: In instantiation of 'struct std::make_unsigned<double>':
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/type_traits:1983:11: required by substitution of 'template<class _Tp> using std::make_unsigned_t = typename std::make_unsigned::type [with _Tp = double]'
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numeric:190:34: required from 'constexpr std::common_type_t<_Tp1, _Tp2> std::lcm(_Mn, _Nn) [with _Mn = double; _Nn = long long int; common_type_t<_Tp1, _Tp2> = double]'
0_0_38771577_11045.cpp:61:12: required from here
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/type_traits:1836:62: error: invalid use of incomplete type 'class std::__make_unsigned_selector<double, false, false>'
1836 | { typedef typename __make_unsigned_selector<_Tp>::__type type; };
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/type_traits:1744:11: note: declaration of 'class std::__make_unsigned_selector<double, false, false>'
1744 | class __make_unsigned_selector;
| ^~~~~~~~~~~~~~~~~~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numeric: In instantiation of 'constexpr std::common_type_t<_Tp1, _Tp2> std::lcm(_Mn, _Nn) [with _Mn = double; _Nn = long long int; common_type_t<_Tp1, _Tp2> = double]':
0_0_38771577_11045.cpp:61:12: required from here
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/numeric:196:48: error: argument 1 in call to function '__builtin_mul_overflow' does not have integral type
196 | bool __overflow = __builtin_mul_overflow(__r, __n2, &__r);
| ^~~
|