GADGET-4
binary_specialized< T, U > Struct Template Reference

#include <half.hpp>

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

Definition at line 2339 of file half.hpp.

Member Function Documentation

◆ fmax()

static expr fmax ( float  x,
float  y 
)
inlinestatic

Maximum implementation.

Parameters
xfirst operand
ysecond operand
Returns
maximum value

Definition at line 2362 of file half.hpp.

◆ fmin()

static expr fmin ( float  x,
float  y 
)
inlinestatic

Minimum implementation.

Parameters
xfirst operand
ysecond operand
Returns
minimum value

Definition at line 2345 of file half.hpp.


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