Precision Plugin for REALbasic
Bob Delaney is releasing his freeware Precision Plugin. It allows
mathematical operations on very large numbers. It is a light version of his
MPCalc plugin, but is not based on an RPN calculator interface. Rather it
is more like C in its behavior. As an example, here's how you would divide
two very large numbers at a precision of 20. The first argument number is
divided by the second.
dim result As String
MPLsetPrecision 20
result=MPLdiv("1.234567e2538", "5.6789e1234")
You would find in result the string:
2.1739544630122030675e1303
You can do an MPLSetPrecision up to 30000. Of course, computations go
slowly at large precisions.
Precision Plugin has almost all the REALbasic functions, but at much higher
precisions. It also has flow control functions for looping. And functions
can be nested. There is extensive checking of inputs to catch incipient
mathematical errors or overflow or underflow.
Download page:
(http://homepage.mac.com/delaneyrm/PrecisionPlugin.html)
Bob Delaney (delaneyrm@earthlink.net)