Extended Plugin 3.0 adds support for creating Mac OS X Universal
applications with REALbasic 2006 Release 4.
Extended Plugin for REALbasic 5 and later adds five new data types. They are:
ExtInteger
ExtFloat
ExtComplex
IAExtFloat
ExtFraction
ExtInteger is the type ZZ of Victor Shoup's multi-precision library,
NTL. Except for available memory, there is no limitation on the size
of an ExtInteger. So you can multiply a 100 digit integer by another
100 digit integer giving the exact 200 digit integer.
ExtFloat is the type RR of NTL. You can set both the bit precision
and the decimal output precision for ExtFloat, with no limitation
except for available memory. It might take awhile, but you can now
calculate pi in a REALbasic program to a million decimal places, or
more. The power of 10 for ExtFloat can range from about -60,000,000
to +60,000,000 as compared to -308 to +308 for a Double.
ExtComplex doesn't exist in NTL. I made it from two ExtFloats. So the
real and imaginary parts of an ExtComplex use the bit precision and
the decimal output precision set for ExtFloat. So you can now use
complex numbers with almost unlimited precision.
IAExtFloat also doesn't exist in Victor Shoup's NTL. It is a data
type which is used for Interval Arithmetic, which is arithmetic with
inequalities. An IAExtFloat number is represented by two ExtFloat
numbers (a, b), where one thinks of an ExtFloat number x being in the
interval between a and b. That is: a <= x <= b. For a function of x
calculated with interval arithmetic the result is an IAExtFloat whose
interval (fa, fb) results from interval propagation.
ExtFraction handles a fraction as num/den, where num and den are
ExtIntegers. Thus one can do exact calculations with rationals in
REALbasic to an almost unlimited degree.
Extended Plugin itself allows you to construct programs which can
handle the five new data types much like doubles and integers are
handled. To a large extent the seven data types can be freely used
with the +, -, *, and / operators, except that IAExtFloat does not
mix with ExtComplex, and ExtFractions can mix only with Integers and
ExtIntegers. And most of REALbasic's functions have been overloaded
to take the five new data types, where it makes sense to do so.
Freeware.
Download page:
http://homepage.mac.com/delaneyrm/ExtendedPlugin.html
Bob
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>