GlobeEngine
half_float::detail::expr Struct Reference

#include <Half.h>

Public Member Functions

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

Detailed Description

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

Constructor & Destructor Documentation

HALF_CONSTEXPR half_float::detail::expr::expr ( float  f)
inlineexplicit

Conversion constructor.

Parameters
fsingle-precision value to convert

Member Function Documentation

HALF_CONSTEXPR half_float::detail::expr::operator float ( ) const
inline

Conversion to single-precision.

Returns
single precision value representing expression value

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