View Compilation Error
F:\temp\10829056.35401\Main.cc: In function 'int main()':
F:\temp\10829056.35401\Main.cc:13: error: call of overloaded 'abs(int)' is ambiguous
cmath:94: note: candidates are: double std::abs(double)
cmath:98: note: float std::abs(float)
cmath:102: note: long double std::abs(long double)
F:\temp\10829056.35401\Main.cc:13: error: call of overloaded 'abs(int)' is ambiguous
cmath:94: note: candidates are: double std::abs(double)
cmath:98: note: float std::abs(float)
cmath:102: note: long double std::abs(long double)