GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::float16_t Struct Reference

#include <GREM/core/fundamentals.hpp>

Public Member Functions

GREM_ALWAYS_INLINE float16_t () noexcept=default
GREM_ALWAYS_INLINE constexpr float16_t (float32_t value) noexcept
constexpr operator float () const noexcept
GREM_ALWAYS_INLINE constexpr bool operator== (const float16_t &other) const noexcept
GREM_ALWAYS_INLINE constexpr bool operator== (float other) const noexcept
GREM_ALWAYS_INLINE constexpr std::partial_ordering operator<=> (const float16_t &other) const noexcept
GREM_ALWAYS_INLINE constexpr std::partial_ordering operator<=> (float other) const noexcept

Constructor & Destructor Documentation

◆ float16_t() [1/2]

GREM_ALWAYS_INLINE grem::float16_t::float16_t ( )
defaultnoexcept

◆ float16_t() [2/2]

GREM_ALWAYS_INLINE constexpr grem::float16_t::float16_t ( float32_t value)
inlineconstexprnoexcept

Member Function Documentation

◆ operator float()

grem::float16_t::operator float ( ) const
inlineconstexprnoexcept

◆ operator==() [1/2]

GREM_ALWAYS_INLINE constexpr bool grem::float16_t::operator== ( const float16_t & other) const
inlinenodiscardconstexprnoexcept

◆ operator==() [2/2]

GREM_ALWAYS_INLINE constexpr bool grem::float16_t::operator== ( float other) const
inlinenodiscardconstexprnoexcept

◆ operator<=>() [1/2]

GREM_ALWAYS_INLINE constexpr std::partial_ordering grem::float16_t::operator<=> ( const float16_t & other) const
inlinenodiscardconstexprnoexcept

◆ operator<=>() [2/2]

GREM_ALWAYS_INLINE constexpr std::partial_ordering grem::float16_t::operator<=> ( float other) const
inlinenodiscardconstexprnoexcept

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