Skip to content

Variable c_sqr_pi

variable c_sqr_pi simd

template <typename T, int m = 1, int d = 1>
constexpr inline subtype<T> c_sqr_pi = subtype<T>(9.8696044010893586188344909998762 * m / d)

The square of π (pi²), scaled by m/d.

Template parameters
T The numeric type.
m Numerator multiplier (default is 1).
d Denominator divisor (default is 1).

Note

Examples: - c_sqr_pi<f64, 4> = 4π² - c_sqr_pi<f64, 3, 4> = 3/4π²

Fully qualified name: kfr::c_sqr_pi

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.