GlobeEngine
half_float::detail::unary_specialized< T > Struct Template Reference

#include <Half.h>

Static Public Member Functions

static HALF_CONSTEXPR half negate (half arg)
 
static half fabs (half arg)
 

Detailed Description

template<typename T>
struct half_float::detail::unary_specialized< T >

Wrapper for unary half-precision functions needing specialization for individual argument types.

Template Parameters
Targument type

Member Function Documentation

template<typename T >
static half half_float::detail::unary_specialized< T >::fabs ( half  arg)
inlinestatic

Absolute value implementation.

Parameters
argfunction argument
Returns
absolute value
template<typename T >
static HALF_CONSTEXPR half half_float::detail::unary_specialized< T >::negate ( half  arg)
inlinestatic

Negation implementation.

Parameters
argvalue to negate
Returns
negated value

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