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 ( const X1 &  x1,
const X2 &  x2 
) [inline, static]

Definition at line 113 of file rounded.hpp.

References mmx::C, and Return_op.

00113                                           {
00114     typedef Return_op(Op,C) Rop;
00115     typedef rounding_helper<C> H;
00116     H::set_rounding (H::template translate<Mode>::val);
00117     return Rop::op (x1, x2);
00118   }

static C rounded_as ( const X1 &  x1  )  [inline, static]

Definition at line 104 of file rounded.hpp.

References mmx::C, and Return_op.

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

static C rounded_as (  )  [inline, static]

Definition at line 95 of file rounded.hpp.

References mmx::C, and Return_op.

00095                 {
00096     typedef Return_op(Op,C) Rop;
00097     typedef rounding_helper<C> H;
00098     H::set_rounding (H::template translate<Mode>::val);
00099     return Rop::op ();
00100   }


The documentation for this struct was generated from the following file:

Generated on 6 Dec 2012 for numerix by  doxygen 1.6.1