HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
openvdb::OPENVDB_VERSION_NAME::math::internal::half Class Reference

#include <Half.h>

Classes

union  uif
 

Public Member Functions

 half ()=default
 
 half (float f)
 
 ~half ()=default
 
 half (const half &)=default
 
 half (half &&) noexcept=default
 
 operator float () const
 
half operator- () const
 
halfoperator= (const half &h)=default
 
halfoperator= (half &&h) noexcept=default
 
halfoperator= (float f)
 
halfoperator+= (half h)
 
halfoperator+= (float f)
 
halfoperator-= (half h)
 
halfoperator-= (float f)
 
halfoperator*= (half h)
 
halfoperator*= (float f)
 
halfoperator/= (half h)
 
halfoperator/= (float f)
 
half round (unsigned int n) const
 
bool isFinite () const
 
bool isNormalized () const
 
bool isDenormalized () const
 
bool isZero () const
 
bool isNan () const
 
bool isInfinity () const
 
bool isNegative () const
 
unsigned short bits () const
 
void setBits (unsigned short bits)
 

Static Public Member Functions

static half posInf ()
 
static half negInf ()
 
static half qNan ()
 
static half sNan ()
 

Detailed Description

Definition at line 98 of file Half.h.

Constructor & Destructor Documentation

openvdb::OPENVDB_VERSION_NAME::math::internal::half::half ( )
default
openvdb::OPENVDB_VERSION_NAME::math::internal::half::half ( float  f)
inline

Definition at line 436 of file Half.h.

openvdb::OPENVDB_VERSION_NAME::math::internal::half::~half ( )
default
openvdb::OPENVDB_VERSION_NAME::math::internal::half::half ( const half )
default
openvdb::OPENVDB_VERSION_NAME::math::internal::half::half ( half &&  )
defaultnoexcept

Member Function Documentation

unsigned short openvdb::OPENVDB_VERSION_NAME::math::internal::half::bits ( ) const
inline

Definition at line 744 of file Half.h.

bool openvdb::OPENVDB_VERSION_NAME::math::internal::half::isDenormalized ( ) const
inline

Definition at line 667 of file Half.h.

bool openvdb::OPENVDB_VERSION_NAME::math::internal::half::isFinite ( ) const
inline

Definition at line 651 of file Half.h.

bool openvdb::OPENVDB_VERSION_NAME::math::internal::half::isInfinity ( ) const
inline

Definition at line 692 of file Half.h.

bool openvdb::OPENVDB_VERSION_NAME::math::internal::half::isNan ( ) const
inline

Definition at line 683 of file Half.h.

bool openvdb::OPENVDB_VERSION_NAME::math::internal::half::isNegative ( ) const
inline

Definition at line 701 of file Half.h.

bool openvdb::OPENVDB_VERSION_NAME::math::internal::half::isNormalized ( ) const
inline

Definition at line 659 of file Half.h.

bool openvdb::OPENVDB_VERSION_NAME::math::internal::half::isZero ( ) const
inline

Definition at line 676 of file Half.h.

half openvdb::OPENVDB_VERSION_NAME::math::internal::half::negInf ( )
inlinestatic

Definition at line 717 of file Half.h.

openvdb::OPENVDB_VERSION_NAME::math::internal::half::operator float ( ) const
inline

Definition at line 500 of file Half.h.

half & openvdb::OPENVDB_VERSION_NAME::math::internal::half::operator*= ( half  h)
inline

Definition at line 619 of file Half.h.

half & openvdb::OPENVDB_VERSION_NAME::math::internal::half::operator*= ( float  f)
inline

Definition at line 627 of file Half.h.

half & openvdb::OPENVDB_VERSION_NAME::math::internal::half::operator+= ( half  h)
inline

Definition at line 587 of file Half.h.

half & openvdb::OPENVDB_VERSION_NAME::math::internal::half::operator+= ( float  f)
inline

Definition at line 595 of file Half.h.

half openvdb::OPENVDB_VERSION_NAME::math::internal::half::operator- ( ) const
inline

Definition at line 570 of file Half.h.

half & openvdb::OPENVDB_VERSION_NAME::math::internal::half::operator-= ( half  h)
inline

Definition at line 603 of file Half.h.

half & openvdb::OPENVDB_VERSION_NAME::math::internal::half::operator-= ( float  f)
inline

Definition at line 611 of file Half.h.

half & openvdb::OPENVDB_VERSION_NAME::math::internal::half::operator/= ( half  h)
inline

Definition at line 635 of file Half.h.

half & openvdb::OPENVDB_VERSION_NAME::math::internal::half::operator/= ( float  f)
inline

Definition at line 643 of file Half.h.

half& openvdb::OPENVDB_VERSION_NAME::math::internal::half::operator= ( const half h)
default
half& openvdb::OPENVDB_VERSION_NAME::math::internal::half::operator= ( half &&  h)
defaultnoexcept
half & openvdb::OPENVDB_VERSION_NAME::math::internal::half::operator= ( float  f)
inline

Definition at line 579 of file Half.h.

half openvdb::OPENVDB_VERSION_NAME::math::internal::half::posInf ( )
inlinestatic

Definition at line 708 of file Half.h.

half openvdb::OPENVDB_VERSION_NAME::math::internal::half::qNan ( )
inlinestatic

Definition at line 726 of file Half.h.

half openvdb::OPENVDB_VERSION_NAME::math::internal::half::round ( unsigned int  n) const
inline

Definition at line 511 of file Half.h.

void openvdb::OPENVDB_VERSION_NAME::math::internal::half::setBits ( unsigned short  bits)
inline

Definition at line 751 of file Half.h.

half openvdb::OPENVDB_VERSION_NAME::math::internal::half::sNan ( )
inlinestatic

Definition at line 735 of file Half.h.


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