double_conversion::DiyFp Class Reference

#include <diy-fp.h>

List of all members.

Public Member Functions

 DiyFp ()
 DiyFp (uint64_t f, int e)
void Subtract (const DiyFp &other)
void Multiply (const DiyFp &other)
void Normalize ()
uint64_t f () const
int e () const
void set_f (uint64_t new_value)
void set_e (int new_value)

Static Public Member Functions

static DiyFp Minus (const DiyFp &a, const DiyFp &b)
static DiyFp Times (const DiyFp &a, const DiyFp &b)
static DiyFp Normalize (const DiyFp &a)

Static Public Attributes

static const int kSignificandSize = 64


Detailed Description

Definition at line 40 of file diy-fp.h.


Constructor & Destructor Documentation

double_conversion::DiyFp::DiyFp (  )  [inline]

Definition at line 44 of file diy-fp.h.

double_conversion::DiyFp::DiyFp ( uint64_t  f,
int  e 
) [inline]

Definition at line 45 of file diy-fp.h.


Member Function Documentation

int double_conversion::DiyFp::e (  )  const [inline]

Definition at line 104 of file diy-fp.h.

Referenced by Normalize(), double_conversion::Single::NormalizedBoundaries(), and double_conversion::Double::NormalizedBoundaries().

Here is the caller graph for this function:

uint64_t double_conversion::DiyFp::f (  )  const [inline]

Definition at line 103 of file diy-fp.h.

Referenced by Normalize(), double_conversion::Single::NormalizedBoundaries(), and double_conversion::Double::NormalizedBoundaries().

Here is the caller graph for this function:

static DiyFp double_conversion::DiyFp::Minus ( const DiyFp a,
const DiyFp b 
) [inline, static]

Definition at line 60 of file diy-fp.h.

References Subtract().

Here is the call graph for this function:

void double_conversion::DiyFp::Multiply ( const DiyFp other  ) 

Definition at line 34 of file diy-fp.cc.

Referenced by Times().

Here is the caller graph for this function:

static DiyFp double_conversion::DiyFp::Normalize ( const DiyFp a  )  [inline, static]

Definition at line 97 of file diy-fp.h.

References Normalize().

Here is the call graph for this function:

void double_conversion::DiyFp::Normalize (  )  [inline]

Definition at line 77 of file diy-fp.h.

References ASSERT, e(), f(), and UINT64_2PART_C.

Referenced by Normalize(), double_conversion::Single::NormalizedBoundaries(), and double_conversion::Double::NormalizedBoundaries().

Here is the call graph for this function:

Here is the caller graph for this function:

void double_conversion::DiyFp::set_e ( int  new_value  )  [inline]

Definition at line 107 of file diy-fp.h.

Referenced by double_conversion::Single::NormalizedBoundaries(), and double_conversion::Double::NormalizedBoundaries().

Here is the caller graph for this function:

void double_conversion::DiyFp::set_f ( uint64_t  new_value  )  [inline]

Definition at line 106 of file diy-fp.h.

Referenced by double_conversion::Single::NormalizedBoundaries(), and double_conversion::Double::NormalizedBoundaries().

Here is the caller graph for this function:

void double_conversion::DiyFp::Subtract ( const DiyFp other  )  [inline]

Definition at line 51 of file diy-fp.h.

References ASSERT.

Referenced by Minus().

Here is the caller graph for this function:

static DiyFp double_conversion::DiyFp::Times ( const DiyFp a,
const DiyFp b 
) [inline, static]

Definition at line 71 of file diy-fp.h.

References Multiply().

Here is the call graph for this function:


Member Data Documentation


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

Generated on Thu Jul 6 00:32:38 2017 for Moses by  doxygen 1.5.9