GADGET-4
expr Struct Reference

#include <half.hpp>

Public Member Functions

HALF_CONSTEXPR expr (float f) HALF_NOEXCEPT
 
HALF_CONSTEXPR operator float () const HALF_NOEXCEPT
 

Detailed Description

Temporary half-precision expression. This class represents a half-precision expression which just stores a single-precision value internally.

Definition at line 428 of file half.hpp.

Constructor & Destructor Documentation

◆ expr()

HALF_CONSTEXPR expr ( float  f)
inlineexplicit

Conversion constructor.

Parameters
fsingle-precision value to convert

Definition at line 432 of file half.hpp.

Member Function Documentation

◆ operator float()

HALF_CONSTEXPR operator float ( ) const
inline

Conversion to single-precision.

Returns
single precision value representing expression value

Definition at line 436 of file half.hpp.


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