updated Gmpfi and Gmpfr manuals

This commit is contained in:
Luis Peñaranda 2012-06-06 15:42:47 +00:00
parent 319b114860
commit 9c255f34a6
2 changed files with 5 additions and 4 deletions

View File

@ -69,7 +69,7 @@ was constructed is guaranteed to be included in the constructed interval.
that \([\ccc{left},\ccc{right}]\) is included in \ccVar .}
\ccConstructor{template<class L, class R>
Gmpfi(std::pair<const L&,const R&> endpoints,
Gmpfi(const std::pair<L,R> &endpoints,
Precision_type p=get_default_precision());}
{creates a \ccc{Gmpfi} initialized with endpoints
\ccc{endpoints.first} and \ccc{endpoints.second}. \ccc{L} and

View File

@ -347,9 +347,10 @@ the compared numbers is \ccc{NaN}, the \ccc{erange} flag is set.
\(M\) and the exponent \(E\) are integers in base 10.}
\ccFunction{std::ostream& operator<<(std::ostream& out, const Gmpfr& f);}
{Writes \ccc{f} to the ostream \ccc{out}, in the form
\(MeE\), where \(M\) is its mantissa and \(E\) is its exponent,
both in base 10.}
{If the ostream \ccc{out} is in pretty-print mode, writes a decimal
approximatin of \ccc{f} to \ccc{out}. Otherwise, writes \ccc{f} to
\ccc{out} in the form \(MeE\), where \(M\) is its mantissa and
\(E\) is its exponent, both in base 10.}
\ccImplementation