From: Sam Moore Date: Fri, 4 Jul 2014 08:46:37 +0000 (+0800) Subject: Minor fixes to Lit Review X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fsam.git;a=commitdiff_plain;h=2426e6848baa0724d89c3b0512c85beb86ce5d1e Minor fixes to Lit Review --- diff --git a/chapters/Progress.tex b/chapters/Progress.tex index 5727c2a..e37865d 100644 --- a/chapters/Progress.tex +++ b/chapters/Progress.tex @@ -58,7 +58,7 @@ Algorithms for floating point arithmetic may be implemented in software (CPU) or An open source Virtual FPU implemented in the VHDL language has been successfully compiled and can be substituted into our testbed software in place of native arithmetic running on the CPU. The timing diagram for this FPU throughout the execution of test programs can be extracted. Currently the virtual FPU is restricted to 32 bit floats and the square root operation is unimplemented. -Mainly motivated by producing Figure \ref{minifloat.pdf} we have also implemented functions to convert an arbitrary \verb/Real/ type (which may be IEEE-754 floats) to and from a fixed size floating point representation of our choosing. We have not implemented any operations for floating point arithmetic using these representations. +Mainly motivated by producing Figure \ref{floats.pdf} we have also implemented functions to convert an arbitrary \verb/Real/ type (which may be IEEE-754 floats) to and from a fixed size floating point representation of our choosing. We have not implemented any operations for floating point arithmetic using these representations. By using the functions to convert real numbers to variable precision floats as an interface for the virtual FPU, we hope to illustrate the limitations of floating point arithmetic more clearly than would be possible using IEEE-754 binary32 as is native to the C and C++ languages. Using the virtual FPU instead of a CPU based software library will prove useful for determining the exact performance of floating point operations. diff --git a/figures/koch.p.pdf b/figures/koch.p.pdf new file mode 100644 index 0000000..6b94966 Binary files /dev/null and b/figures/koch.p.pdf differ diff --git a/figures/koch.pdf b/figures/koch.pdf new file mode 100644 index 0000000..9526632 Binary files /dev/null and b/figures/koch.pdf differ diff --git a/figures/koch.ps b/figures/koch.ps index 45f88b2..3a0b733 100644 --- a/figures/koch.ps +++ b/figures/koch.ps @@ -36,7 +36,7 @@ %xB debug } { - x1 y1 moveto x2 y2 lineto + x1 y1 lineto x2 y2 lineto } ifelse end @@ -47,6 +47,13 @@ % End prolog +/iterations 7 def % Define to the desired number of iterations to crash your pdf viewer +0 0 1 setrgbcolor +0 0 moveto +0 0 50 100 iterations koch +50 100 100 0 iterations koch +100 0 0 0 iterations koch closepath +stroke % Draw some text and the initial triangle faintly 0.9 0.9 1 setrgbcolor @@ -55,12 +62,6 @@ 1E-6 setlinewidth 0 0 moveto 50 100 lineto 100 0 lineto 0 0 lineto stroke -/iterations 7 def % Define to the desired number of iterations to crash your pdf viewer -0 0 1 setrgbcolor -0 0 moveto -0 0 50 100 iterations koch -50 100 100 0 iterations koch -100 0 0 0 iterations koch closepath -fill + showpage diff --git a/figures/rabbit_simple.pdf b/figures/rabbit_simple.pdf new file mode 100644 index 0000000..ed96550 Binary files /dev/null and b/figures/rabbit_simple.pdf differ diff --git a/thesis.pdf b/thesis.pdf index 4f39724..6610108 100644 Binary files a/thesis.pdf and b/thesis.pdf differ