MCKL
Monte Carlo Kernel Library
Static Public Attributes | List of all members
mckl::internal::Pow2L< P, Q, bool > Class Template Reference

#include <mckl/internal/const_math.hpp>

Static Public Attributes

static constexpr long double value
 

Detailed Description

template<int P, int Q = (std::numeric_limits<unsigned long long>::digits < std::numeric_limits<long double>::digits ? std::numeric_limits<unsigned long long>::digits : std::numeric_limits<long double>::digits) - 1, bool = (Q < P)>
class mckl::internal::Pow2L< P, Q, bool >

Definition at line 141 of file const_math.hpp.

Member Data Documentation

◆ value

template<int P, int Q = (std::numeric_limits<unsigned long long>::digits < std::numeric_limits<long double>::digits ? std::numeric_limits<unsigned long long>::digits : std::numeric_limits<long double>::digits) - 1, bool = (Q < P)>
constexpr long double mckl::internal::Pow2L< P, Q, bool >::value
static
Initial value:
=
static_cast<long double>(1ULL << Q) * Pow2L<P - Q>::value

Definition at line 144 of file const_math.hpp.