This documentation is automatically generated by online-judge-tools/verification-helper
View the Project on GitHub Luzhiled/comp-geometry
#include "src/real-geometry/common/const/pi.hpp"
#pragma once #include "src/real-geometry/common/float-alias.hpp" #include <cmath> namespace geometry { static f80 pi() { static const f80 PI = acosl(-1); // no need `std::`. (?) return PI; } }
#line 2 "src/real-geometry/common/const/pi.hpp" #line 2 "src/real-geometry/common/float-alias.hpp" namespace geometry { using f80 = long double; using f64 = double; } #line 4 "src/real-geometry/common/const/pi.hpp" #include <cmath> namespace geometry { static f80 pi() { static const f80 PI = acosl(-1); // no need `std::`. (?) return PI; } }