#include <rounded.hpp>
Definition at line 25 of file rounded.hpp.
static C rounded_as | ( | const X1 & | x1, | |
const X2 & | x2 | |||
) | [inline, static] |
Definition at line 46 of file rounded.hpp.
References mmx::C, Return_op, and mmx::rounding_error().
00046 { 00047 typedef Return_op(Op,C) Rop; 00048 C r = Rop::op (x1, x2); 00049 C err= rounding_error (r); 00050 return r + (err + err); 00051 }
static C rounded_as | ( | const X1 & | x1 | ) | [inline, static] |
Definition at line 37 of file rounded.hpp.
References mmx::C, Return_op, and mmx::rounding_error().
00037 { 00038 typedef Return_op(Op,C) Rop; 00039 C r = Rop::op (x1); 00040 C err= rounding_error (r); 00041 return r + (err + err); 00042 }
static C rounded_as | ( | ) | [inline, static] |
Definition at line 28 of file rounded.hpp.
References mmx::C, Return_op, and mmx::rounding_error().
00028 { 00029 typedef Return_op(Op,C) Rop; 00030 C r = Rop::op (); 00031 C err= rounding_error (r); 00032 return r + (err + err); 00033 }