GADGET-4
unary_specialized< T > Struct Template Reference

#include <half.hpp>

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

Definition at line 2316 of file half.hpp.

Member Function Documentation

◆ fabs()

static half fabs ( half  arg)
inlinestatic

Absolute value implementation.

Parameters
argfunction argument
Returns
absolute value

Definition at line 2326 of file half.hpp.

◆ negate()

static HALF_CONSTEXPR half negate ( half  arg)
inlinestatic

Negation implementation.

Parameters
argvalue to negate
Returns
negated value

Definition at line 2321 of file half.hpp.


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