From 67ee2792bf88710fb473eb7534daefe548a926c5 Mon Sep 17 00:00:00 2001 From: Maggie Mari Date: Mon, 20 Aug 2012 13:34:40 -0500 Subject: [PATCH] Removed extraneous slashes. --- docs/source/doc/kaleidoscope/PythonLangImpl6.rst | 6 +++--- docs/source/doc/kaleidoscope/PythonLangImpl7.rst | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/source/doc/kaleidoscope/PythonLangImpl6.rst b/docs/source/doc/kaleidoscope/PythonLangImpl6.rst index 11ce5c0..c7eb48a 100644 --- a/docs/source/doc/kaleidoscope/PythonLangImpl6.rst +++ b/docs/source/doc/kaleidoscope/PythonLangImpl6.rst @@ -557,8 +557,8 @@ converge: # Solve for z = z^2 + c in the complex plane. def mandelconverger(real imag iters creal cimag) if iters > 255 | - (real\ *real + imag*\ imag > 4) then iters else - mandelconverger(real\ *real - imag*\ imag + creal, 2\ *real*\ imag + + (real*real + imag* imag > 4) then iters else + mandelconverger(real*real - imag* imag + creal, 2\ *real* imag + cimag, iters+1, creal, cimag) # return the number of iterations required for the iteration to escape @@ -589,7 +589,7 @@ but we can whip together something using the density plotter above: # mandel - This is a convenient helper function for ploting the mandelbrot set # from the specified position with the specified Magnification. def mandel(realstart imagstart realmag imagmag) mandelhelp(realstart, - realstart+realmag\ *78, realmag, imagstart, imagstart+imagmag*\ 40, + realstart+realmag\ *78, realmag, imagstart, imagstart+imagmag* 40, imagmag); diff --git a/docs/source/doc/kaleidoscope/PythonLangImpl7.rst b/docs/source/doc/kaleidoscope/PythonLangImpl7.rst index fe5e9ad..80eb46b 100644 --- a/docs/source/doc/kaleidoscope/PythonLangImpl7.rst +++ b/docs/source/doc/kaleidoscope/PythonLangImpl7.rst @@ -102,7 +102,7 @@ In LLVM, all memory accesses are explicit with load/store instructions, and it is carefully designed not to have (or need) an "address-of" operator. Notice how the type of the @G/@H global variables is actually "i32\ *" even though the variable is defined as "i32". What this means -is that @G defines*\ space* for an i32 in the global data area, but its +is that @G defines* space* for an i32 in the global data area, but its *name* actually refers to the address for that space. Stack variables work the same way, except that instead of being declared with global variable definitions, they are declared with the `LLVM alloca