× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.






> message: 7
> date: Fri, 19 Mar 2004 06:43:22 -0700
> from: "Mark S. Waterbury" <mark.s.waterbury@xxxxxxx>
> subject: Re: [MI400] Large number division
>
> Java has classes for arbitrary-precision floating point numbers and
> arbitrary-precision integers, named java.math.BigDecimal and
> java.math.BigInteger, respectively.
>
> In V5R1+, you can call java methods directly from ILE RPG IV, C or
> COBOL, so you could write a small ILE "wrapper" program to allow
> calling from any OPM language, (even MI), to use this support.

Just for the record, calling Java methods from non-Java programs is done
through Java's JNI (Java Native Interface).  It was always possible to use
JNI from those languages.  What changed in v5r1 was that ILE RPG added
support that made it easy to use JNI.

I think it's possible to make bound calls from MI somehow - if so, you
should be able to call the JNI functions from MI.  (But I can't imagine
anything more nasty to code.)

Barbara Morris


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2023 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.