\doxysection{scratchpad2.\+lisp}
\hypertarget{scratchpad2_8lisp_source}{}\label{scratchpad2_8lisp_source}\index{workspace/post-\/scarcity/lisp/scratchpad2.lisp@{workspace/post-\/scarcity/lisp/scratchpad2.lisp}}
\mbox{\hyperlink{scratchpad2_8lisp}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00001}00001\ "{}This\ demonstrates\ that\ although\ the\ print\ representation\ of\ three\ cell\ bignums\ blows\ up,\ the\ internal\ representation\ is\ sane"{}}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00002}00002\ }
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00003}00003\ "{}We\ start\ by\ adding\ 8\ copies\ of\ 2\string^60\ -\/\ i.e.\ the\ first\ two-\/cell\ integer"{}}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00004}00004\ }
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00005}00005\ (set!\ a}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00006}00006\ \ \ (+}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00007}00007\ \ \ \ \ 1152921504606846976}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00008}00008\ \ \ \ \ 1152921504606846976}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00009}00009\ \ \ \ \ 1152921504606846976}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00010}00010\ \ \ \ \ 1152921504606846976}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00011}00011\ \ \ \ \ 1152921504606846976}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00012}00012\ \ \ \ \ 1152921504606846976}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00013}00013\ \ \ \ \ 1152921504606846976}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00014}00014\ \ \ \ \ 1152921504606846976))}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00015}00015\ }
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00016}00016\ "{}Then\ repeatedly\ add\ eight\ copies\ of\ the\ previous\ generation"{}}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00017}00017\ }
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00018}00018\ (set!\ b\ (+\ a\ a\ a\ a\ a\ a\ a\ a))}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00019}00019\ }
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00020}00020\ (set!\ c\ (+\ b\ b\ b\ b\ b\ b\ b\ b))}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00021}00021\ }
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00022}00022\ (set!\ d\ (+\ c\ c\ c\ c\ c\ c\ c\ c))}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00023}00023\ }
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00024}00024\ (set!\ e\ (+\ d\ d\ d\ d\ d\ d\ d\ d))}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00025}00025\ }
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00026}00026\ (set!\ f\ (+\ e\ e\ e\ e\ e\ e\ e\ e))}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00027}00027\ }
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00028}00028\ (set!\ g\ (+\ f\ f\ f\ f\ f\ f\ f\ f))}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00029}00029\ }
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00030}00030\ (set!\ h\ (+\ g\ g\ g\ g\ g\ g\ g\ g))}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00031}00031\ }
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00032}00032\ (set!\ i\ (+\ h\ h\ h\ h\ h\ h\ h\ h))}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00033}00033\ }
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00034}00034\ (set!\ j\ (+\ i\ i\ i\ i\ i\ i\ i\ i))}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00035}00035\ }
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00036}00036\ (set!\ k\ (+\ j\ j\ j\ j\ j\ j\ j\ j))}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00037}00037\ }
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00038}00038\ (set!\ l\ (+\ k\ k\ k\ k\ k\ k\ k\ k))}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00039}00039\ }
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00040}00040\ (set!\ m\ (+\ l\ l\ l\ l\ l\ l\ l\ l))}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00041}00041\ }
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00042}00042\ (set!\ n\ (+\ m\ m\ m\ m\ m\ m\ m\ m))}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00043}00043\ }
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00044}00044\ (set!\ o\ (+\ n\ n\ n\ n\ n\ n\ n\ n))}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00045}00045\ }
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00046}00046\ "{}p"{}}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00047}00047\ (set!\ p\ (+\ o\ o\ o\ o\ o\ o\ o\ o))}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00048}00048\ }
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00049}00049\ "{}q"{}}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00050}00050\ (set!\ q\ (+\ p\ p\ p\ p\ p\ p\ p\ p))}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00051}00051\ }
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00052}00052\ "{}r"{}}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00053}00053\ (set!\ r\ (+\ q\ q\ q\ q\ q\ q\ q\ q))}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00054}00054\ }
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00055}00055\ "{}s"{}}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00056}00056\ (inspect}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00057}00057\ \ (set!\ s\ (+\ r\ r\ r\ r\ r\ r\ r\ r)))}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00058}00058\ }
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00059}00059\ "{}t\ -\/\ first\ three\ cell\ integer.\ Printing\ blows\ up\ here"{}}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00060}00060\ (inspect}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00061}00061\ \ (set!\ t\ (+\ s\ s\ s\ s\ s\ s\ s\ s)))}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00062}00062\ }
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00063}00063\ "{}u"{}}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00064}00064\ (inspect}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00065}00065\ \ (set!\ u\ (+\ t\ t\ t\ t\ t\ t\ t\ t)))}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00066}00066\ }
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00067}00067\ "{}v"{}}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00068}00068\ (inspect}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00069}00069\ \ (set!\ v\ (+\ u\ u\ u\ u\ u\ u\ u\ u)))}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00070}00070\ }
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00071}00071\ "{}w"{}}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00072}00072\ (inspect}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00073}00073\ \ (set!\ w\ (+\ v\ v\ v\ v\ v\ v\ v\ v)))}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00074}00074\ }
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00075}00075\ (inspect}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00076}00076\ \ (set!\ x\ (+\ w\ w\ w\ w\ w\ w\ w\ w)))}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00077}00077\ }
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00078}00078\ (inspect}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00079}00079\ \ (set!\ y\ (+\ x\ x\ x\ x\ x\ x\ x\ x)))}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00080}00080\ }
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00081}00081\ (inspect}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00082}00082\ \ (set!\ z\ (+\ y\ y\ y\ y\ y\ y\ y\ y)))}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00083}00083\ }
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00084}00084\ (inspect}
\DoxyCodeLine{\Hypertarget{scratchpad2_8lisp_source_l00085}00085\ \ (set!\ final\ (+\ z\ z\ z\ z\ z\ z\ z\ z)))}

\end{DoxyCode}
