omni::math::linalg::half

Defined in usdrt/gf/half.h

Functions

class half

Public Functions

half() noexcept = default
constexpr half(const half&) noexcept = default
constexpr half &operator=(const half&) noexcept = default
inline half(float f) noexcept
inline explicit half(double f) noexcept
inline explicit half(int i) noexcept
inline explicit operator float() const noexcept
inline explicit operator double() const noexcept
inline explicit operator int() const noexcept
inline bool operator<(const half &rhs) const noexcept
inline bool operator<=(const half &rhs) const noexcept
inline bool operator>(const half &rhs) const noexcept
inline bool operator>=(const half &rhs) const noexcept
inline bool operator==(const half &rhs) const noexcept
inline bool operator!=(const half &rhs) const noexcept
inline half operator-() const noexcept
inline half &operator+=(const half &rhs) noexcept
inline half &operator-=(const half &rhs) noexcept
inline half &operator*=(const half &rhs) noexcept
inline half &operator/=(const half &rhs) noexcept
inline uint16_t &bits() noexcept
inline const uint16_t &bits() const noexcept

Public Static Functions

static inline float halfToFloat(uint16_t i) noexcept
static inline uint16_t floatToHalf(float f) noexcept