34std::ostream & operator << (std::ostream &s,
const idotprecision& a)
noexcept
36 s <<
'[' << SaveOpt << RndDown
37 << a.inf <<
',' << RndUp
38 << a.sup << RestoreOpt
42std::string & operator << (std::string &s,
const idotprecision& a)
noexcept
45 s << SaveOpt << RndDown
49 << a.sup << RestoreOpt;
58 skipeolnflag = inpdotflag =
true;
59 c = skipwhitespacessinglechar (s,
'[');
63 s >> SaveOpt >> RndDown >> a.inf;
65 skipeolnflag = inpdotflag =
true;
66 c = skipwhitespacessinglechar (s,
',');
67 if (inpdotflag) s.putback(c);
69 s >> RndUp >> a.sup >> RestoreOpt;
73 skipeolnflag =
false, inpdotflag =
true;
74 c = skipwhitespaces (s);
75 if (inpdotflag && c !=
']')
89 s = skipwhitespacessinglechar (s,
'[');
90 s >> SaveOpt >> RndDown >> a.inf;
91 s = skipwhitespacessinglechar (s,
',');
92 s >> RndUp >> a.sup >> RestoreOpt;
93 s = skipwhitespaces (s);
118 Inf(b)=rnd(a.inf,RND_DOWN);
119 Sup(b)=rnd(a.sup,RND_UP);
122interval rnd(
const idotprecision &a)
noexcept
131 i_padd(a.inf.ptr(),a.sup.ptr(), *(a_intv*)&b,*(a_intv*)&c);
The Data Type idotprecision.
friend void accumulate(idotprecision &, const interval &, const interval &) noexcept
The accurate scalar product of the last two arguments added to the value of the first argument.
idotprecision()
Constructor of class idotprecision.
The Scalar Type interval.
The namespace cxsc, providing all functionality of the class library C-XSC.