Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Namespaces | Variables
math_constants.hpp File Reference
#include "types.hpp"
#include <numbers>
Include dependency graph for math_constants.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  uni20
 

Variables

template<class Real >
constexpr auto uni20::catalan = detail::math_constants<Real>::catalan
 Catalan constant as a native value or a precision-aware MPFR descriptor.
 
template<class Real >
constexpr auto uni20::euler_gamma = detail::math_constants<Real>::euler_gamma
 Euler-Mascheroni constant, with the same type and precision rules as pi.
 
template<class Real >
constexpr auto uni20::log_two = detail::math_constants<Real>::log_two
 Natural logarithm of two, with the same type and precision rules as pi.
 
template<class Real >
constexpr auto uni20::pi = detail::math_constants<Real>::pi
 Pi as a native constant or a precision-aware MPFR descriptor.