numerix_doc 0.4
floating< V > Class Template Reference

#include <floating.hpp>

List of all members.

Public Member Functions


Detailed Description

template<typename V = std_floating>
class mmx::floating< V >

Definition at line 100 of file floating.hpp.


Constructor & Destructor Documentation

floating ( ) [inline]

Definition at line 115 of file floating.hpp.

                    :
    rep (new Floating_rep ()) {}
floating ( signed int  i) [inline]

Definition at line 117 of file floating.hpp.

References Rnd.

                                :
    rep (new Floating_rep ()) { mpfr_set_si (rep->x, i, Rnd); }
floating ( unsigned int  i) [inline]

Definition at line 119 of file floating.hpp.

References Rnd.

                                  :
    rep (new Floating_rep ()) { mpfr_set_ui (rep->x, i, Rnd); }
floating ( signed short int  i) [inline]

Definition at line 121 of file floating.hpp.

References Rnd.

                                      :
    rep (new Floating_rep ()) { mpfr_set_si (rep->x, i, Rnd); }
floating ( unsigned short int  i) [inline]

Definition at line 123 of file floating.hpp.

References Rnd.

                                        :
    rep (new Floating_rep ()) { mpfr_set_ui (rep->x, i, Rnd); }
floating ( signed long int  i) [inline]

Definition at line 125 of file floating.hpp.

References Rnd.

                                     :
    rep (new Floating_rep ()) { mpfr_set_si (rep->x, i, Rnd); }
floating ( unsigned long int  i) [inline]

Definition at line 127 of file floating.hpp.

References Rnd.

                                       :
    rep (new Floating_rep ()) { mpfr_set_ui (rep->x, i, Rnd); }
floating ( float  x2) [inline]

Definition at line 129 of file floating.hpp.

References Rnd.

                            :
    rep (new Floating_rep ()) { mpfr_set_d (rep->x, x2, Rnd); }
floating ( double  x2) [inline]

Definition at line 131 of file floating.hpp.

References Rnd.

                             :
    rep (new Floating_rep ()) { mpfr_set_d (rep->x, x2, Rnd); }
floating ( const integer i) [inline]

Definition at line 133 of file floating.hpp.

References Rnd.

                                    :
    rep (new Floating_rep ()) { mpfr_set_z (rep->x, *i, Rnd); }
floating ( const rational x) [inline]

Definition at line 135 of file floating.hpp.

References Rnd.

                                     :
    rep (new Floating_rep ()) { mpfr_set_q (rep->x, *x, Rnd); }
floating ( const char *  s,
int  base = 0 
) [inline]

Definition at line 137 of file floating.hpp.

References mmx::base(), and Rnd.

                                              :
    rep (new Floating_rep ()) { mpfr_set_str (rep->x, s, base, Rnd); }
floating ( const string &  s,
int  base = 0 
) [inline]

Definition at line 139 of file floating.hpp.

References mmx::base(), and Rnd.

                                                :
    rep (new Floating_rep ()) {
      char* r= as_charp (s);
      mpfr_set_str (rep->x, r, base, Rnd);
      free_charp (r); }

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines