alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::math::constants Namespace Reference

Variables

constexpr double e = M_E
 
template<typename T >
constexpr T e_v = static_cast<T>(e)
 
constexpr double inv_pi = M_1_PI
 
template<typename T >
constexpr T inv_pi_v = static_cast<T>(inv_pi)
 
constexpr double ln10 = M_LN10
 
template<typename T >
constexpr T ln10_v = static_cast<T>(ln10)
 
constexpr double ln2 = M_LN2
 
template<typename T >
constexpr T ln2_v = static_cast<T>(ln2)
 
constexpr double log10e = M_LOG10E
 
template<typename T >
constexpr T log10e_v = static_cast<T>(log10e)
 
constexpr double log2e = M_LOG2E
 
template<typename T >
constexpr T log2e_v = static_cast<T>(log2e)
 
constexpr double pi = M_PI
 
template<typename T >
constexpr T pi_v = static_cast<T>(pi)
 
constexpr double sqrt2 = M_SQRT2
 
template<typename T >
constexpr T sqrt2_v = static_cast<T>(sqrt2)
 

Variable Documentation

◆ e

constexpr double alpaka::math::constants::e = M_E
inlineconstexpr

Definition at line 58 of file Traits.hpp.

◆ e_v

template<typename T >
constexpr T alpaka::math::constants::e_v = static_cast<T>(e)
inlineconstexpr

Definition at line 68 of file Traits.hpp.

◆ inv_pi

constexpr double alpaka::math::constants::inv_pi = M_1_PI
inlineconstexpr

Definition at line 62 of file Traits.hpp.

◆ inv_pi_v

template<typename T >
constexpr T alpaka::math::constants::inv_pi_v = static_cast<T>(inv_pi)
inlineconstexpr

Definition at line 80 of file Traits.hpp.

◆ ln10

constexpr double alpaka::math::constants::ln10 = M_LN10
inlineconstexpr

Definition at line 64 of file Traits.hpp.

◆ ln10_v

template<typename T >
constexpr T alpaka::math::constants::ln10_v = static_cast<T>(ln10)
inlineconstexpr

Definition at line 86 of file Traits.hpp.

◆ ln2

constexpr double alpaka::math::constants::ln2 = M_LN2
inlineconstexpr

Definition at line 63 of file Traits.hpp.

◆ ln2_v

template<typename T >
constexpr T alpaka::math::constants::ln2_v = static_cast<T>(ln2)
inlineconstexpr

Definition at line 83 of file Traits.hpp.

◆ log10e

constexpr double alpaka::math::constants::log10e = M_LOG10E
inlineconstexpr

Definition at line 60 of file Traits.hpp.

◆ log10e_v

template<typename T >
constexpr T alpaka::math::constants::log10e_v = static_cast<T>(log10e)
inlineconstexpr

Definition at line 74 of file Traits.hpp.

◆ log2e

constexpr double alpaka::math::constants::log2e = M_LOG2E
inlineconstexpr

Definition at line 59 of file Traits.hpp.

◆ log2e_v

template<typename T >
constexpr T alpaka::math::constants::log2e_v = static_cast<T>(log2e)
inlineconstexpr

Definition at line 71 of file Traits.hpp.

◆ pi

constexpr double alpaka::math::constants::pi = M_PI
inlineconstexpr

Definition at line 61 of file Traits.hpp.

◆ pi_v

template<typename T >
constexpr T alpaka::math::constants::pi_v = static_cast<T>(pi)
inlineconstexpr

Definition at line 77 of file Traits.hpp.

◆ sqrt2

constexpr double alpaka::math::constants::sqrt2 = M_SQRT2
inlineconstexpr

Definition at line 65 of file Traits.hpp.

◆ sqrt2_v

template<typename T >
constexpr T alpaka::math::constants::sqrt2_v = static_cast<T>(sqrt2)
inlineconstexpr

Definition at line 89 of file Traits.hpp.