At 6:54 AM -0700 7/3/03, [EMAIL PROTECTED] wrote:
I am writing a program to generate Fibonacci numbers, but even using UInt32's
they get very large fairly quickly. The 500th Fibonacci number is 104 digits
long, so I am going to use a custom list box (ref:ch.5, Advanced Palm
Programming, Steve Mann) to display the first 20 or so digits, then pop up a
scrolling text box to see the entire really long number as wanted.

quite willing to write my own Binary Coded Decimal routines for addition,
subtraction, and assignment using arbitrarily long strings, but wondered if
anyone had BCD routines already written and willing to share?

this will be a sourceforge project if it ever works. anyone curious before then
I will send you the tarball.

I haven't used or even looked at the following, but it's a likely solution for you:


<http://www.gnu.org/directory/GNU/gnump.html>

If that doesn't work for you, remember that "Google is your Friend" (I swear I need to make up some T-shirts that say that). Searching for "big integer library" turns up a number of other hits.

-- Keith

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to