le 3/07/03 15:54, [EMAIL PROTECTED] � [EMAIL PROTECTED] a �crit�: > 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. > > thanks in advance, > > David M
Doesn't CW for PalmOS support 'long long' and 'unsigned long long' ? These are 64 bit integers. They're supported by CW foe MacOS through glue code, so it should workalso on PalmOS. ------------------------------- Eric VERGNAUD - JLynx Software Cutting-edge technologies and services for software companies web: http://www.jlynx.com ------------------------------- -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
