                             Hugi Compo #26
                             The Golden One

This time your task is to create the world's smallest program that
displays the Golden Ratio. This is the ratio of dividing a line segment A
into two parts B and C such that A is to B as B is to C.

                                    A
                        ------------+-------
                              B         C

This deceptively simple ratio has fascinated mathematicians for centuries.
It can be written as A/B = B/C.

The ratio A/B is usually designated by the Greek letter phi, and it is
approximately equal to 1.618.

Now if your task were to simply output "1.618", it wouldn't be much of a
challenge. Printing a text string would do. The challenge is that your
entry must print the value of phi for 2400 places after the decimal
point, rounded to the nearest value. You may use a text string if you
want, but it's very unlikely to be a winning strategy.

So that an automated tester can be used to check your program, it must
output the digits to the standard output device (stdout). The exact
format must be: "1.618...<cr><lf>" with, of course, the dots being
replaced by the proper digits.

Your program must be called "entry.com".

In case these rules aren't crystal clear, and to give you a giant hint
for a great algorithm, an example program is provided (example.asm).

To help verify that you haven't overlooked some nasty little detail, a
test suite is provided. Simply run test.bat.

Send your entry.com file along with its source code to Sniper at:

        ------->>  fys@frontiernet.net <<-------

The compo deadline is May 31, 2006 at midnight (Mountain Standard Time).

You may enter as often as you want until the deadline (in fact you are
encouraged to do so to add to the excitement of the compo).

To avoid putting too much burden on Sniper, your entry must complete the
test suite in less than 5 minutes on his computer.

Besides these rules, you must follow the general rules that apply to all
compos (see general.txt).

If you have any questions or comments, feel free to post them on:
hugi-compo@yahoogroups.com
