Okay. I think I'm done playing, for now. There's a free continuous fraction program available. This program provides the convergents for the continuous fractions of a value (plus declining error terms) and includes a well-featured calculator (with variable assignment support and multi-statement capability (use a ; to separate statements or expressions, or just type them one line at a time) and displays floating point notation in either single or double precision (the calculator itself can be switched to either mode.) So it may have a variety of practical uses for folks in embedded work of one kind or another.
To keep it quick for me to develop and test (five hours of work, so far), I used VBDOS 1.0 as the compiler and it is developed to operate under DOS (obviously.) It works, so far as I'm aware, under the DOS boxes of various Windows incarnations. In order to avoid problems with sucking down CPU time while waiting for keystrokes (busy loop), the code also uses the DOS multiplex interrupt to release CPU time back to Windows during busy wait looping on keys. So it shouldn't do what many such DOS programs do when running under WinXP, for example, which is effectively hogging cpu time and presenting delays everywhere else on the machine.
The screen will auto-adjust to 50-line mode, if your DOS box otherwise starts up in other line modes, but will return back to the mode it starts in when it exits. Just be prepared for the 50-line display change, if you run it. Should also run under plain vanilla DOS systems, no Windows at all, so long as the video display supports the
50-line mode. That may be helpful with some PC104 systems.It's free. Distribute it anyway you please. (It is offered basically "as is" and includes a non-transferable, non-exclusive, royalty-free worldwide license to use, copy, modify, prepare derivative works of, and distribute. More details are in the COPYRGHT.TXT file found in the ZIP that includes the .EXE file.)
The source code is also free for the asking on the same basis. But it will require at least QB4.5, 7.0, 7.1, or VBDOS to compile. It's in several modules but it's not hard to assemble the pieces into a QBASIC runnable version, though (I did it, just to be sure it works.) So that can be done successfully. (QBASIC is also free from Microsoft.)
It's at:
Let me know if there are helpful improvements and I'll see what I can do.
Jon