Simulant  21.12-574
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Public Member Functions | List of all members
half_float::detail::expr Struct Reference

#include <half.hpp>

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

◆ expr()

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

Conversion constructor.

Parameters
fsingle-precision value to convert

Member Function Documentation

◆ operator float()

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: