0_0_25776974_13462.cpp: In function 'int main()':
0_0_25776974_13462.cpp:16:30: error: no matching function for call to 'atan(double&, double&)'
double dir = atan(b,a);
^
0_0_25776974_13462.cpp:16:30: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:44:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:41,
from 0_0_25776974_13462.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/math.h:146:18: note: double atan(double)
double __cdecl atan(double _X);
^
GCC4.9.2/x86_64-w64-mingw32/include/math.h:146:18: note: candidate expects 1 argument, 2 provided
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray:587:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:94,
from 0_0_25776974_13462.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/valarray_after.h:451:5: note: template<class _Tp> std::_Expr<std::_UnClos<std::_Atan, std::_ValArray, _Tp>, _Tp> std::atan(const std::valarray<_Tp>&)
_DEFINE_EXPR_UNARY_FUNCTION(atan, _Atan)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/valarray_after.h:451:5: note: template argument deduction/substitution failed:
0_0_25776974_13462.cpp:16:30: note: mismatched types 'const std::valarray<_Tp>' and 'double'
double dir = atan(b,a);
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/valarray:587:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:94,
from 0_0_25776974_13462.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/valarray_after.h:451:5: note: template<class _Dom> std::_Expr<std::_UnClos<std::_Atan, std::_Expr, _Dom>, typename _Dom::value_type> std::atan(const std::_Expr<_Dom1, typename _Dom1::value_type>&)
_DEFINE_EXPR_UNARY_FUNCTION(atan, _Atan)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/valarray_after.h:451:5: note: template argument deduction/substitution failed:
0_0_25776974_13462.cpp:16:30: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and 'double'
double dir = atan(b,a);
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
from 0_0_25776974_13462.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:1681:5: note: template<class _Tp> std::complex<_Tp> std::atan(const std::complex<_Tp>&)
atan(const std::complex<_Tp>& __z)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:1681:5: note: template argument deduction/substitution failed:
0_0_25776974_13462.cpp:16:30: note: mismatched types 'const std::complex<_Tp>' and 'double'
double dir = atan(b,a);
^
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_25776974_13462.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:156:5: note: template<class _Tp> constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::atan(_Tp)
atan(_Tp __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:156:5: note: template argument deduction/substitution failed:
0_0_25776974_13462.cpp:16:30: note: candidate expects 1 argument, 2 provided
double dir = atan(b,a);
^
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_25776974_13462.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:148:3: note: constexpr long double std::atan(long double)
atan(long double __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:148:3: note: candidate expects 1 argument, 2 provided
GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:144:3: note: constexpr float std::atan(float)
atan(float __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:144:3: note: candidate expects 1 argument, 2 provided
|