xieite::tau<>

Defined in header <xieite/math/tau.hpp>

2 Pi.


Declaration

template<xieite::is_arith Arith = double>
constexpr Arith tau<Arith> = xieite::pi<Arith> * 2;


Example

int main() {
	std::println("{}", xieite::tau<int>);
}
Output:
6
[View in Compiler Explorer]