Public Member Functions | Private Attributes | List of all members
gte::BSPrecision Class Reference

#include <GteBSPrecision.h>

Public Member Functions

 BSPrecision (bool isFloat, bool forBSNumber)
 
 BSPrecision (bool isFloat, int32_t maxExponent, bool forBSNumber)
 
 BSPrecision (int32_t numBits, int32_t minBiasedExponent, int32_t maxExponent, bool forBSNumber)
 
int32_t GetMaxExponent () const
 
int32_t GetMinBiasedExponent () const
 
int32_t GetMinExponent () const
 
int32_t GetNumBits () const
 
int32_t GetNumWords () const
 
BSPrecision operator!= (BSPrecision const &precision)
 
BSPrecision operator* (BSPrecision const &precision)
 
BSPrecision operator+ (BSPrecision const &precision)
 
BSPrecision operator- (BSPrecision const &precision)
 
BSPrecision operator/ (BSPrecision const &precision)
 
BSPrecision operator< (BSPrecision const &precision)
 
BSPrecision operator<= (BSPrecision const &precision)
 
BSPrecision operator== (BSPrecision const &precision)
 
BSPrecision operator> (BSPrecision const &precision)
 
BSPrecision operator>= (BSPrecision const &precision)
 

Private Attributes

bool mForBSNumber
 
int32_t mMaxExponent
 
int32_t mMinBiasedExponent
 
int32_t mNumBits
 

Detailed Description

Definition at line 22 of file GteBSPrecision.h.

Constructor & Destructor Documentation

BSPrecision::BSPrecision ( bool  isFloat,
bool  forBSNumber 
)

Definition at line 14 of file GteBSPrecision.cpp.

BSPrecision::BSPrecision ( bool  isFloat,
int32_t  maxExponent,
bool  forBSNumber 
)

Definition at line 44 of file GteBSPrecision.cpp.

BSPrecision::BSPrecision ( int32_t  numBits,
int32_t  minBiasedExponent,
int32_t  maxExponent,
bool  forBSNumber 
)

Definition at line 64 of file GteBSPrecision.cpp.

Member Function Documentation

int32_t BSPrecision::GetMaxExponent ( ) const

Definition at line 94 of file GteBSPrecision.cpp.

int32_t BSPrecision::GetMinBiasedExponent ( ) const

Definition at line 84 of file GteBSPrecision.cpp.

int32_t BSPrecision::GetMinExponent ( ) const

Definition at line 89 of file GteBSPrecision.cpp.

int32_t BSPrecision::GetNumBits ( ) const

Definition at line 79 of file GteBSPrecision.cpp.

int32_t BSPrecision::GetNumWords ( ) const

Definition at line 74 of file GteBSPrecision.cpp.

BSPrecision BSPrecision::operator!= ( BSPrecision const &  precision)

Definition at line 168 of file GteBSPrecision.cpp.

BSPrecision BSPrecision::operator* ( BSPrecision const &  precision)

Definition at line 99 of file GteBSPrecision.cpp.

BSPrecision BSPrecision::operator+ ( BSPrecision const &  precision)

Definition at line 112 of file GteBSPrecision.cpp.

BSPrecision BSPrecision::operator- ( BSPrecision const &  precision)

Definition at line 137 of file GteBSPrecision.cpp.

BSPrecision BSPrecision::operator/ ( BSPrecision const &  precision)

Definition at line 142 of file GteBSPrecision.cpp.

BSPrecision BSPrecision::operator< ( BSPrecision const &  precision)

Definition at line 181 of file GteBSPrecision.cpp.

BSPrecision BSPrecision::operator<= ( BSPrecision const &  precision)

Definition at line 194 of file GteBSPrecision.cpp.

BSPrecision BSPrecision::operator== ( BSPrecision const &  precision)

Definition at line 155 of file GteBSPrecision.cpp.

BSPrecision BSPrecision::operator> ( BSPrecision const &  precision)

Definition at line 207 of file GteBSPrecision.cpp.

BSPrecision BSPrecision::operator>= ( BSPrecision const &  precision)

Definition at line 220 of file GteBSPrecision.cpp.

Member Data Documentation

bool gte::BSPrecision::mForBSNumber
private

Definition at line 74 of file GteBSPrecision.h.

int32_t gte::BSPrecision::mMaxExponent
private

Definition at line 73 of file GteBSPrecision.h.

int32_t gte::BSPrecision::mMinBiasedExponent
private

Definition at line 73 of file GteBSPrecision.h.

int32_t gte::BSPrecision::mNumBits
private

Definition at line 73 of file GteBSPrecision.h.


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


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:05