|
numerix_doc 0.4
|
#include <rounded.hpp>
Definition at line 25 of file rounded.hpp.
| 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);
}