Aerobus v1.2
Loading...
Searching...
No Matches
Classes | Public Types | Static Public Member Functions | Static Public Attributes | List of all members
aerobus::libm::sin_reduction< T > Struct Template Reference

#include <aerobus.h>

Classes

struct  behavior
 

Public Types

using upper_type = aerobus::arithmetic_helpers< T >::upper_type
 
using u_constants = aerobus::arithmetic_helpers< upper_type >
 
using constants = aerobus::arithmetic_helpers< T >
 

Static Public Member Functions

static DEVICE behavior eval (upper_type u_x, T x)
 

Static Public Attributes

static constexpr upper_type pi = u_constants::pi()
 
static constexpr upper_type two_pi = u_constants::two_pi()
 
static constexpr upper_type pi_2 = u_constants::pi_2()
 
static constexpr upper_type pi_4 = u_constants::pi_4()
 

Member Typedef Documentation

◆ constants

template<typename T >
using aerobus::libm::sin_reduction< T >::constants = aerobus::arithmetic_helpers<T>

◆ u_constants

template<typename T >
using aerobus::libm::sin_reduction< T >::u_constants = aerobus::arithmetic_helpers<upper_type>

◆ upper_type

template<typename T >
using aerobus::libm::sin_reduction< T >::upper_type = aerobus::arithmetic_helpers<T>::upper_type

Member Function Documentation

◆ eval()

template<typename T >
static DEVICE behavior aerobus::libm::sin_reduction< T >::eval ( upper_type  u_x,
x 
)
inlinestatic

Member Data Documentation

◆ pi

template<typename T >
constexpr upper_type aerobus::libm::sin_reduction< T >::pi = u_constants::pi()
staticconstexpr

◆ pi_2

template<typename T >
constexpr upper_type aerobus::libm::sin_reduction< T >::pi_2 = u_constants::pi_2()
staticconstexpr

◆ pi_4

template<typename T >
constexpr upper_type aerobus::libm::sin_reduction< T >::pi_4 = u_constants::pi_4()
staticconstexpr

◆ two_pi

template<typename T >
constexpr upper_type aerobus::libm::sin_reduction< T >::two_pi = u_constants::two_pi()
staticconstexpr

The documentation for this struct was generated from the following file: