WPILibC++ 2024.3.2
factorial.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  gcem
 
namespace  gcem::internal
 

Functions

template<typename T >
constexpr T gcem::internal::factorial_table (const T x) noexcept
 
template<typename T , typename std::enable_if< std::is_integral< T >::value >::type * = nullptr>
constexpr T gcem::internal::factorial_recur (const T x) noexcept
 
template<typename T >
constexpr T gcem::factorial (const T x) noexcept
 Compile-time factorial function. More...