3#ifndef pRC_CORE_VALUE_FUNCTIONS_PI_H
4#define pRC_CORE_VALUE_FUNCTIONS_PI_H
11 template<
class T, If<IsFloat<T>> = 0>
12 static inline constexpr T pi()
14 if constexpr(
typename T::Width() == 16)
20 return 3.141592653589793238462643383279502884;
24 template<
class T, If<IsInteger<T>> = 0>
25 static inline constexpr auto pi()
static constexpr auto FromRepresentation(Representation const rep)
Definition bfloat16.hpp:26
pRC::Constant< Size, W > Width
Definition float.hpp:39
Definition cholesky.hpp:18
static constexpr auto makeConstantSequence()
Definition sequence.hpp:402
static constexpr T pi()
Definition pi.hpp:12