|
David Morris wrote: >Math enabled RPGIV'ers, > >What are some of the options for storing and manipulating >very large numbers where long float is just not large enough? >In this case to use a number greater than 170!. I had to use Knuth and roll my own back in S/3 days. If you use Java, you can't pass it back as a parameter because RPG can't handle a number of that size natively. I assume you will toString() it, but then what can you do with a string of 230-odd digits in RPG besides print it out? Will you write a Java "service program" to do all the work for you and pass strings back and forth? I love the stuff you work on! :-) Buck Calabro Aptis; Albany, NY "Nothing is so firmly believed as that which we least know" -- Michel Montaigne Visit the Midrange archives at http://www.midrange.com +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.