|
-
Dec 27th, 2001, 09:13 PM
#1
really large variables
OK I dont really have a clue where to start, but i need to create variables to store numbers as large as 2^1024, which is beyond all the default ones in vb i think. Any help/ways round this problem would be much appreciated
Thanks and Happy New Year
Richard Thomson
-
Dec 27th, 2001, 09:25 PM
#2
Fanatic Member
You can try to store them as strings. You'll need to write your own routines for things like adding and dividing. That's the only solution I can think of now. It won't be efficient, but it's fun to make
-
Dec 27th, 2001, 09:50 PM
#3
Hyperactive Member
I tested VB and it will handle a number equal to 2^1023.9 -
I just typed in the Immediate window ?2^1023.9# and it printed 1.67730700348574E+308
but you're right, it errors on 2^1024#
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|