next up previous contents
Next: float_base Class Instantiation Up: The Floating Point Base Previous: float_base Class Variables

float_base Class Methods

Methods Description
float_base(const double a) Constructor to create a float instance from a double a.
float_base(const float_base &a) Copy constructor.
float_base
&operator=(const float_base a)
Assignment operator.
operator double() Cast operator.
static int ld_size() returns log2 of the size (in byte) of a floating point instance. Note, this function always returns the same value (usually 3, i.e. 23=8 bytes).
static bool scalar() Always returns true because floating point types are scalar.
static void cleanup() Actually does nothing.
   

Note, no further operators are defined in float_base.




1998-11-17