[futurebasic] [FB] Very Large Numbers

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

From: "Ashley Butterworth" <macbse@...>
Date: Sun, 29 Jul 2001
Hi All,
  I have a 2048 bit number that I need to do some maths on. I have it stored as text in a container as it has 617 decimal digits. How do I convert this to an integral number that I can do maths on? I have made up a record that has 64 unsigned longs in it ( 64 32 bit integers).

  How do I get the number into this record and how do I then take the square root of the number, use it in a FOR-NEXT loop, do MOD maths on it and divide it.

  Thanks very much for any help,

  Ashley ~)~

=============================================================
Ashley Butterworth
Email: macbse@...
=============================================================


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com