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

 softdouble ()
 Default constructor. More...
 
 softdouble (const softdouble &c)
 Copy constructor. More...
 
softdoubleoperator= (const softdouble &c)
 Assign constructor. More...
 
 softdouble (const uint32_t)
 Construct from integer. More...
 
 softdouble (const uint64_t)
 
 softdouble (const int32_t)
 
 softdouble (const int64_t)
 
 softdouble (const double a)
 Construct from double. More...
 
 operator softfloat () const
 Type casts
More...
 
 operator double () const
 
softdouble operator+ (const softdouble &) const
 Basic arithmetics. More...
 
softdouble operator- (const softdouble &) const
 
softdouble operator* (const softdouble &) const
 
softdouble operator/ (const softdouble &) const
 
softdouble operator- () const
 
softdouble operator% (const softdouble &) const
 Remainder operator. More...
 
softdoubleoperator+= (const softdouble &a)
 
softdoubleoperator-= (const softdouble &a)
 
softdoubleoperator*= (const softdouble &a)
 
softdoubleoperator/= (const softdouble &a)
 
softdoubleoperator%= (const softdouble &a)
 
bool operator== (const softdouble &) const
 Comparison operations. More...
 
bool operator!= (const softdouble &) const
 
bool operator> (const softdouble &) const
 
bool operator>= (const softdouble &) const
 
bool operator< (const softdouble &) const
 
bool operator<= (const softdouble &) 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...
 
softdouble setSign (bool sign) const
 Construct a copy with new sign bit. More...
 
int getExp () const
 Get 0-based exponent. More...
 
softdouble setExp (int e) const
 Construct a copy with new 0-based exponent. More...
 
softdouble getFrac () const
 Get a fraction part. More...
 
softdouble setFrac (const softdouble &s) const
 Construct a copy with provided significand. More...
 

Static Public Member Functions

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

Public Attributes

uint64_t v
 

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