unary_specialized< T > Struct Template Reference#
half_float::detail::unary_specialized< T > Struct Template Reference
Wrapper for unary half-precision functions needing specialization for individual argument types. More...
#include <half.hpp>
Static Public Member Functions | |
static constexpr half | negate (half arg) |
Negation implementation. More... | |
static half | fabs (half arg) |
Absolute value implementation. More... | |
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
-
T argument type
Member Function Documentation
◆ negate()
template<typename T >
|
inlinestaticconstexpr |
◆ fabs()
template<typename T >
|
inlinestatic |
The documentation for this struct was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-half/checkouts/latest/include/half.hpp