No (Or Limited) Arbitrary Precision Integers / Exact Mode?

12192013, 05:58 AM
Post: #7




RE: No (Or Limited) Arbitrary Precision Integers / Exact Mode?
(12172013 05:48 PM)John R. Graham Wrote: Is there a variable type that is manipulatable from PPL that will represent an exact arbitrary precision integer? The only reference I see to integers in the documentation are the binary numbers, which seem to be strictly limited in precision (just like they are on the HP50). Not in Home, which is like approximate mode on the 50g. Long integers are only available in CAS (which is like exact mode on the 50g), from which they can be stored in any CAS variable. So if you want to use them in a program, it must be a CAS program, not a "normal" program. My PDQ program (posted in the Prime Software section, see link below) is an example of this. It allows inputs of any length, and can generate "infinite precision" results such as fractions whose numerator and denominator are integers with more than 12 digits each. PDQ with examples is here: http://www.hpmuseum.org/forum/thread61.html BUT WAIT! I just set a CAS variable equal to a large integer, then went back into Home, and tried ifactor (a CAS function) on it while in Home. It got the same fullaccuracy result as ifactor gets in CAS! So variables containing long integers CAN be used with full accuracy in Home... but only if handled by CAS functions. Perhaps normal programs can use long integers too, if first saved in CAS variables? Maybe! This should be explored further. <0ΙΈ0> Joe 

« Next Oldest  Next Newest »

Messages In This Thread 
No (Or Limited) Arbitrary Precision Integers / Exact Mode?  John R. Graham  12172013, 02:49 PM
RE: No (Or Limited) Arbitrary Precision Integers?  ArielPalazzesi  12172013, 04:08 PM
RE: No (Or Limited) Arbitrary Precision Integers?  John R. Graham  12172013, 04:25 PM
RE: No (Or Limited) Arbitrary Precision Integers / Exact Mode?  ArielPalazzesi  12172013, 05:10 PM
RE: No (Or Limited) Arbitrary Precision Integers / Exact Mode?  jgreenb2  12172013, 05:34 PM
RE: No (Or Limited) Arbitrary Precision Integers / Exact Mode?  John R. Graham  12172013, 05:48 PM
RE: No (Or Limited) Arbitrary Precision Integers / Exact Mode?  Joe Horn  12192013 05:58 AM

User(s) browsing this thread: 1 Guest(s)