0_0_26156509_11379.cpp: In member function 'double Point::degree()':
0_0_26156509_11379.cpp:102:73: error: 'pi' was not declared in this scope
return sgn(y) ? std::atan((len() - x) / y) * 2 : (1 - sgn(x)) * pi / 2;
^
0_0_26156509_11379.cpp: In member function 'double Circle::area()':
0_0_26156509_11379.cpp:380:16: error: 'pi' was not declared in this scope
return pi * r * r;
^
0_0_26156509_11379.cpp: In member function 'double Circle::len()':
0_0_26156509_11379.cpp:383:20: error: 'pi' was not declared in this scope
return 2 * pi * r;
^
|