commit b6a9fd64480bd570d733a67fe6cd09ddb466f6f3
parent 28b770c1c62fd59d26a2ad534ff275f91da842f1
Author: Bertrand BRUN <bertrand0brun@gmail.com>
Date: Sun, 5 Dec 2010 11:43:43 +0100
Leger correction dans la preuve sur l'arret
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/rapport.tex b/rapport.tex
@@ -1499,16 +1499,16 @@ Pour les fonctions C qui ne bouclent jamais, cela n'est pas possible. En effet,
\[
h(p, x) = \left\{
\begin{array}{ll}
- 1 & \qquad \mathrm{si}\ p(x)\ est\ defini \\
+ 1 & \qquad \mathrm{si}\ \mathrm{p(x)\ est\ defini} \\
0 & \qquad \mathrm{sinon} \\
\end{array}
\right.
\]
-... on pourrait alors construire le programme $gamma(n)$ suivant~:
+\ldots on pourrait alors construire le programme $gamma(n)$ suivant~:
\begin{lstlisting}[language=C]
- int gamma(int x) {
- if (h(gamma, x))
+ int gamma(int n) {
+ if (h(gamma, n))
while (1);
else
return (0);