EstervQrCode 1.1.1
Library for qr code manipulation
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members

#include <softfloat.hpp>

Public Member Functions

 softfloat ()
 Default constructor. More...
 
 softfloat (const softfloat &c)
 Copy constructor. More...
 
softfloatoperator= (const softfloat &c)
 Assign constructor. More...
 
 softfloat (const uint32_t)
 Construct from integer. More...
 
 softfloat (const uint64_t)
 
 softfloat (const int32_t)
 
 softfloat (const int64_t)
 
 softfloat (const float a)
 Construct from float. More...
 
 operator softdouble () const
 Type casts
More...
 
 operator float () const
 
softfloat operator+ (const softfloat &) const
 Basic arithmetics. More...
 
softfloat operator- (const softfloat &) const
 
softfloat operator* (const softfloat &) const
 
softfloat operator/ (const softfloat &) const
 
softfloat operator- () const
 
softfloat operator% (const softfloat &) const
 Remainder operator. More...
 
softfloatoperator+= (const softfloat &a)
 
softfloatoperator-= (const softfloat &a)
 
softfloatoperator*= (const softfloat &a)
 
softfloatoperator/= (const softfloat &a)
 
softfloatoperator%= (const softfloat &a)
 
bool operator== (const softfloat &) const
 Comparison operations. More...
 
bool operator!= (const softfloat &) const
 
bool operator> (const softfloat &) const
 
bool operator>= (const softfloat &) const
 
bool operator< (const softfloat &) const
 
bool operator<= (const softfloat &) const
 
bool isNaN () const
 NaN state indicator. More...
 
bool isInf () const
 Inf state indicator. More...
 
bool isSubnormal () const
 Subnormal number indicator. More...
 
bool getSign () const
 Get sign bit. More...
 
softfloat setSign (bool sign) const
 Construct a copy with new sign bit. More...
 
int getExp () const
 Get 0-based exponent. More...
 
softfloat setExp (int e) const
 Construct a copy with new 0-based exponent. More...
 
softfloat getFrac () const
 Get a fraction part. More...
 
softfloat setFrac (const softfloat &s) const
 Construct a copy with provided significand. More...
 

Static Public Member Functions

static const softfloat fromRaw (const uint32_t a)
 Construct from raw. More...
 
static softfloat zero ()
 Zero constant. More...
 
static softfloat inf ()
 Positive infinity constant. More...
 
static softfloat nan ()
 Default NaN constant. More...
 
static softfloat one ()
 One constant. More...
 
static softfloat min ()
 Smallest normalized value. More...
 
static softfloat eps ()
 Difference between 1 and next representable value. More...
 
static softfloat max ()
 Biggest finite value. More...
 
static softfloat pi ()
 Correct pi approximation. More...
 

Public Attributes

uint32_t v
 

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