This documentation is automatically generated by online-judge-tools/verification-helper
#include "src/real-geometry/angle/radian-to-degree.hpp"
#pragma once
#include "src/real-geometry/common/const/pi.hpp"
namespace geometry {
template< typename R >
R radian_to_degree(R theta) {
return theta * 180.0 / pi();
}
}
#line 2 "src/real-geometry/angle/radian-to-degree.hpp"
#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;
}
}
#line 4 "src/real-geometry/angle/radian-to-degree.hpp"
namespace geometry {
template< typename R >
R radian_to_degree(R theta) {
return theta * 180.0 / pi();
}
}