[futurebasic] Re: big numbers

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : September 2001 : Group Archive : Group : All Groups

From: Stu Cram <stu.cram@...>
Date: Thu, 6 Sep 2001 07:24:14 -0600
>Hi,
>Any ideas how I can pursuade fb^3 to compute the following?:
>
>     result& = 17^1234 mod 3223
>
>Thanks
>Bernie

Plan A:  Use the older FB II (from the CD). It uses BCD Math which is 
slower but has the luxury of being able to handle large numbers. Just 
set the precision in the preferences to 240 digits (or more if needed 
- up to 16000 digits of accuracy when the trademark [TM] symbol 
follows that #. Use option 2 to type the trademark symbol). Check 
page 16 the FBII manual for details. Then you can easily do most math 
problems.

Plan B:
Simulate multi-precison math like Robert Purves suggested.

- Stu C.