Posts: 263
Threads: 42
Joined: Aug 2007
Many of you may be aware, but just in case:
uBASIC is a most interesting / capable 'dialect' of BASIC which supports precision up to 2600 digits, rational and complex datatypes, list handling capabilities...
It is an older DOS era program, runs quite quickly and consequently very small.
http://archives.math.utk.edu/software/msdos/number.theory/ubasic/.html
TomC
Posts: 536
Threads: 56
Joined: Jul 2005
it's a pity it's not in C. there are bits of 16bit assembler in there too. was a source code ever released?
Posts: 204
Threads: 20
Joined: Jun 2005
If uBasic sounds interesting to you, you may want to have a look at the old Tiny Basic
http://en.wikipedia.org/wiki/Li-Chen_Wang
which easily portable on almost any platform. I remember doing a 68k port myself back in the 90s.
marais
Posts: 274
Threads: 23
Joined: Sep 2007
What is perticular with UBasic is the native high precision numbers.
you can write a factorization program and provide an input in the form of 2^300-1 and expect to obtain the right factors.
You can display the factorial of 200 to the last digit.
and so on without having to deal with memory management.
Posts: 2,247
Threads: 200
Joined: Jun 2005
There are many BASIC implementations that have surfaced then AND now. Most of them are freeware.
Namir