GlobeEngine
half_float::detail::binary_specialized< T, U > Struct Template Reference

#include <Half.h>

Static Public Member Functions

static expr fmin (float x, float y)
 
static expr fmax (float x, float y)
 

Detailed Description

template<typename T, typename U>
struct half_float::detail::binary_specialized< T, U >

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

Template Parameters
Tfirst argument type
Ufirst argument type

Member Function Documentation

template<typename T , typename U >
static expr half_float::detail::binary_specialized< T, U >::fmax ( float  x,
float  y 
)
inlinestatic

Maximum implementation.

Parameters
xfirst operand
ysecond operand
Returns
maximum value
template<typename T , typename U >
static expr half_float::detail::binary_specialized< T, U >::fmin ( float  x,
float  y 
)
inlinestatic

Minimum implementation.

Parameters
xfirst operand
ysecond operand
Returns
minimum value

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