more precise text about precision and rounding mode

This commit is contained in:
Michael Hemmer 2008-12-10 12:47:02 +00:00
parent bd66a53bf9
commit 73c96b99f1
2 changed files with 8 additions and 7 deletions

View File

@ -29,8 +29,9 @@ Please note that the implementation of class \ccc{CGAL::Residue} requires a mant
precision according to the IEEE Standard for Floating-Point Arithmetic (IEEE 754). precision according to the IEEE Standard for Floating-Point Arithmetic (IEEE 754).
However, on some processors the traditional FPU uses an extended precision. Hence, it However, on some processors the traditional FPU uses an extended precision. Hence, it
is indispensable that the proper mantissa length is enforced before performing is indispensable that the proper mantissa length is enforced before performing
any arithmetic operations. For instance you may use \ccc{CGAL::Protect_FPU_rounding} with any arithmetic operations. Moreover, it is required that numbers are rounded to the
\ccc{CGAL_FE_TONEAREST}, which enforces the required precision as a side effect. next nearest value. This can be ensured using \ccc{CGAL::Protect_FPU_rounding} with
\ccc{CGAL_FE_TONEAREST}, which also enforces the required precision as a side effect.
\begin{ccAdvanced} \begin{ccAdvanced}
In case the flag \ccc{CGAL_HAS_THREADS} In case the flag \ccc{CGAL_HAS_THREADS}
@ -68,4 +69,3 @@ as it was presented in \cite{bepp-sdrns-99}.
The remaining part of the package is the result of the integration process The remaining part of the package is the result of the integration process
of the NumeriX library of EXACUS \cite{beh+-eeeafcs-05} into CGAL. of the NumeriX library of EXACUS \cite{beh+-eeeafcs-05} into CGAL.

View File

@ -22,8 +22,9 @@ Please note that the implementation of class \ccc{CGAL::Residue} requires a mant
precision according to the IEEE Standard for Floating-Point Arithmetic (IEEE 754). precision according to the IEEE Standard for Floating-Point Arithmetic (IEEE 754).
However, on some processors the traditional FPU uses an extended precision. Hence, it However, on some processors the traditional FPU uses an extended precision. Hence, it
is indispensable that the proper mantissa length is enforced before performing is indispensable that the proper mantissa length is enforced before performing
any arithmetic operations. For instance you may use \ccc{CGAL::Protect_FPU_rounding} with any arithmetic operations. Moreover, it is required that numbers are rounded to the
\ccc{CGAL_FE_TONEAREST}, which enforces the required precision as a side effect. next nearest value. This can be ensured using \ccc{CGAL::Protect_FPU_rounding} with
\ccc{CGAL_FE_TONEAREST}, which also enforces the required precision as a side effect.
In case the flag \ccc{CGAL_HAS_THREADS} In case the flag \ccc{CGAL_HAS_THREADS}
is undefined the prime is just stored in a static member is undefined the prime is just stored in a static member