Numbers Of Unusual Size

Mintoris Basic just keeps getting cooler. It already had support for most Android peripherals such as sound input and output, accelerometers, and many other nifty features. Now it has support for arbitrary-precision decimal numbers, including Integers Of Unusual Sizeā„¢.

As with pretty much all things Mintoris Basic, the large numbers are very straightforward to use. Here’s code to generate Fibonacci numbers, for instance:

a$=”1″
b$=”1″
print a$
print b$
Top:
a$=bigadd(a$,b$)
print a$
b$=bigadd$(a$,b$)
print b$
wait 1
goto Top

I gave up after the numbers got too big to fit on the screen on my Acer tablet — over 4,000 digits!

It supports arbitrary-precision decimals, too.

This entry was posted in Android, BASIC, Coding, Digital, Math, Tools. Bookmark the permalink.

Leave a Reply