HDK
|
#include <fpreal16.h>
Classes | |
union | uif |
Public Member Functions | |
fpreal16 ()=default | |
fpreal16 (const fpreal16 &h)=default | |
fpreal16 (fpreal32 f) | |
operator fpreal32 () const | |
fpreal16 | operator- () const |
fpreal16 & | operator= (const fpreal16 &h)=default |
fpreal16 | operator= (fpreal32 f) |
fpreal16 | operator+= (fpreal16 h) |
fpreal16 | operator+= (fpreal32 f) |
fpreal16 | operator-= (fpreal16 h) |
fpreal16 | operator-= (fpreal32 f) |
fpreal16 | operator*= (fpreal16 h) |
fpreal16 | operator*= (fpreal32 f) |
fpreal16 | operator/= (fpreal16 h) |
fpreal16 | operator/= (fpreal32 f) |
fpreal16 | 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 fpreal16 | posInf () |
static fpreal16 | negInf () |
static fpreal16 | qNan () |
static fpreal16 | sNan () |
static void | ensureStaticDataIsInitialized () |
Static Protected Member Functions | |
static bool | selftest () |
Static Protected Attributes | |
static const uif * | _toFloat |
static const unsigned short * | _eLut |
static bool | _itWorks |
Definition at line 99 of file fpreal16.h.
|
default |
|
default |
SYS_FORCE_INLINE fpreal16::fpreal16 | ( | fpreal32 | f | ) |
Definition at line 420 of file fpreal16.h.
SYS_FORCE_INLINE unsigned short fpreal16::bits | ( | ) | const |
Definition at line 726 of file fpreal16.h.
|
static |
SYS_FORCE_INLINE bool fpreal16::isDenormalized | ( | ) | const |
Definition at line 649 of file fpreal16.h.
SYS_FORCE_INLINE bool fpreal16::isFinite | ( | ) | const |
Definition at line 633 of file fpreal16.h.
SYS_FORCE_INLINE bool fpreal16::isInfinity | ( | ) | const |
Definition at line 674 of file fpreal16.h.
SYS_FORCE_INLINE bool fpreal16::isNan | ( | ) | const |
Definition at line 665 of file fpreal16.h.
SYS_FORCE_INLINE bool fpreal16::isNegative | ( | ) | const |
Definition at line 683 of file fpreal16.h.
SYS_FORCE_INLINE bool fpreal16::isNormalized | ( | ) | const |
Definition at line 641 of file fpreal16.h.
SYS_FORCE_INLINE bool fpreal16::isZero | ( | ) | const |
Definition at line 658 of file fpreal16.h.
|
static |
Definition at line 699 of file fpreal16.h.
SYS_FORCE_INLINE fpreal16::operator fpreal32 | ( | ) | const |
Definition at line 483 of file fpreal16.h.
Definition at line 601 of file fpreal16.h.
Definition at line 609 of file fpreal16.h.
Definition at line 569 of file fpreal16.h.
Definition at line 577 of file fpreal16.h.
SYS_FORCE_INLINE fpreal16 fpreal16::operator- | ( | ) | const |
Definition at line 552 of file fpreal16.h.
Definition at line 585 of file fpreal16.h.
Definition at line 593 of file fpreal16.h.
Definition at line 617 of file fpreal16.h.
Definition at line 625 of file fpreal16.h.
SYS_FORCE_INLINE fpreal16 fpreal16::operator= | ( | fpreal32 | f | ) |
Definition at line 561 of file fpreal16.h.
|
static |
Definition at line 690 of file fpreal16.h.
|
static |
Definition at line 708 of file fpreal16.h.
Definition at line 493 of file fpreal16.h.
|
staticprotected |
SYS_FORCE_INLINE void fpreal16::setBits | ( | unsigned short | bits | ) |
Definition at line 733 of file fpreal16.h.
|
static |
Definition at line 717 of file fpreal16.h.
|
staticprotected |
Definition at line 233 of file fpreal16.h.
|
staticprotected |
Definition at line 234 of file fpreal16.h.
|
staticprotected |
Definition at line 232 of file fpreal16.h.