#include <rounded.hpp>
Definition at line 58 of file rounded.hpp.
static C rounded_as | ( | const X1 & | x1, | |
const X2 & | x2 | |||
) | [inline, static] |
Definition at line 79 of file rounded.hpp.
References mmx::C, Return_op, and mmx::rounding_error().
00079 { 00080 typedef Return_op(Op,C) Rop; 00081 C r = Rop::op (x1, x2); 00082 C err= rounding_error (r); 00083 return r - (err + err); 00084 }
static C rounded_as | ( | const X1 & | x1 | ) | [inline, static] |
Definition at line 70 of file rounded.hpp.
References mmx::C, Return_op, and mmx::rounding_error().
00070 { 00071 typedef Return_op(Op,C) Rop; 00072 C r = Rop::op (x1); 00073 C err= rounding_error (r); 00074 return r - (err + err); 00075 }
static C rounded_as | ( | ) | [inline, static] |
Definition at line 61 of file rounded.hpp.
References mmx::C, Return_op, and mmx::rounding_error().
00061 { 00062 typedef Return_op(Op,C) Rop; 00063 C r = Rop::op (); 00064 C err= rounding_error (r); 00065 return r - (err + err); 00066 }