numerix_doc 0.4
rounded_global< Mode > Struct Template Reference

#include <rounded.hpp>

List of all members.

Static Public Member Functions


Detailed Description

template<mmx_rounding Mode>
struct mmx::rounded_global< Mode >

Definition at line 92 of file rounded.hpp.


Member Function Documentation

static C rounded_as ( ) [inline, static]

Definition at line 95 of file rounded.hpp.

References mmx::C.

                {
    typedef Return_op(Op,C) Rop;
    typedef rounding_helper<C> H;
    H::set_rounding (H::template translate<Mode>::val);
    return Rop::op ();
  }
static C rounded_as ( const X1 &  x1,
const X2 &  x2 
) [inline, static]

Definition at line 113 of file rounded.hpp.

References mmx::C.

                                          {
    typedef Return_op(Op,C) Rop;
    typedef rounding_helper<C> H;
    H::set_rounding (H::template translate<Mode>::val);
    return Rop::op (x1, x2);
  }
static C rounded_as ( const X1 &  x1) [inline, static]

Definition at line 104 of file rounded.hpp.

References mmx::C.

                            {
    typedef Return_op(Op,C) Rop;
    typedef rounding_helper<C> H;
    H::set_rounding (H::template translate<Mode>::val);
    return Rop::op (x1);
  }

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