summaryrefslogtreecommitdiff
path: root/doc/algorithms.tex
diff options
context:
space:
mode:
authorzimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2008-09-30 14:17:24 +0000
committerzimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2008-09-30 14:17:24 +0000
commite4350f3539f1a0bb6bc8ff43975cbf4525179ac8 (patch)
tree5ce1aa5a4bc4ee458cd6426fbae71438dde4dd07 /doc/algorithms.tex
parent65db9b7f355d0f3a206080410065d6aae39ad6a1 (diff)
downloadmpc-e4350f3539f1a0bb6bc8ff43975cbf4525179ac8.tar.gz
[algorithms.tex] started subsection on mpc_pow
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@219 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'doc/algorithms.tex')
-rw-r--r--doc/algorithms.tex23
1 files changed, 21 insertions, 2 deletions
diff --git a/doc/algorithms.tex b/doc/algorithms.tex
index 113760e..5a32d36 100644
--- a/doc/algorithms.tex
+++ b/doc/algorithms.tex
@@ -18,8 +18,8 @@
\DeclareMathOperator{\A}{\mathcal A}
\title {MPC: Algorithms and Error Analysis}
-\author {Andreas Enge \and Philippe Th\'eveny}
-\date {April 11, 2008}
+\author {Andreas Enge \and Philippe Th\'eveny \and Paul Zimmermann}
+\date {September 30, 2008}
\begin {document}
\maketitle
@@ -404,6 +404,25 @@ k_R=\left\{
\right.
\end{equation*}
+\subsection {\texttt {mpc\_pow}}
+
+The main issue for the power function is to be able to recognize when the
+real part of the imaginary part of $x^y$ might be exact, since in that case
+Ziv's strategy will loop infinitely.
+Gelfond-Schneider's theorem states that if $x$ is an algebraic number
+different from $0$ and $1$, $y$ is an algebraic non-rational number,
+then $x^y$ is transcendental.
+Since all exact floating-point numbers are rational, and therefore algebraic,
+it suffices to consider the cases where $y$ is rational, thus has no
+imaginary part.
+Unfortunately Gelfond-Schneider's theorem says nothing about the real and
+imaginary parts of $x^y$: $x^y$ might be transcendental, but its real part
+or imaginary part might be an exact (binary) floating-point number.
+
+We conjecture that exact powers can only occur when
+$y = a \cdot 2^b$, for $a$ and $b$ integers. It would then suffice to
+be able to recognize exact squares, as in the real case.
+
\bibliographystyle{acm}
\bibliography{algorithms}