numerix_doc 0.4
rounded_none_up Struct Reference

#include <rounded.hpp>

List of all members.

Static Public Member Functions


Detailed Description

Definition at line 25 of file rounded.hpp.


Member Function Documentation

static C rounded_as ( ) [inline, static]

Definition at line 28 of file rounded.hpp.

References mmx::C, and mmx::rounding_error().

                {
    typedef Return_op(Op,C) Rop;
    C r  = Rop::op ();
    C err= rounding_error (r);
    return r + (err + err);
  }
static C rounded_as ( const X1 &  x1,
const X2 &  x2 
) [inline, static]

Definition at line 46 of file rounded.hpp.

References mmx::C, and mmx::rounding_error().

                                          {
    typedef Return_op(Op,C) Rop;
    C r  = Rop::op (x1, x2);
    C err= rounding_error (r);
    return r + (err + err);
  }
static C rounded_as ( const X1 &  x1) [inline, static]

Definition at line 37 of file rounded.hpp.

References mmx::C, and mmx::rounding_error().

                            {
    typedef Return_op(Op,C) Rop;
    C r  = Rop::op (x1);
    C err= rounding_error (r);
    return r + (err + err);
  }

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