Topic:   Variables   (Read 7148 times)


0 Members and 1 Guest are viewing this topic.

Tireas Dragon


  • GMG Extraordinaire

  • ***


  • Posts: 1626

  • Trying to recover from my shattered screen.
Variables
« on: June 16, 2008, 09:57:39 AM »
Well using a scientific calculator I have discovered the maximum number of different number variables you can have is approximately 175945240730481326961561908185588573916379060606336. I just thought it was a high number.
EDIT: If I am wrong there is more.
« Last Edit: June 16, 2008, 09:58:43 AM by Tireas_Dragon »
I must be dreaming (wake up me wake up) How could this have happened. Tireas' cry when he found his computer fallen over in his chair with it's screen shattered.

alias


  • Guest
Re: Variables
« Reply #1 on: June 17, 2008, 04:13:13 AM »
ironic since the amount of variables you can have, is greater than the maximum value they can hold

Silverwind


  • ^ This guy is amazing.

  • ****


  • Posts: 2805

  • For the glory of my maker
Re: Variables
« Reply #2 on: June 17, 2008, 04:18:21 AM »
Quote
ironic since the amount of variables you can have, is greater than the maximum value they can hold
Yeah, by a few million times.
I survived the spammage of 2007

Tireas Dragon


  • GMG Extraordinaire

  • ***


  • Posts: 1626

  • Trying to recover from my shattered screen.
Re: Variables
« Reply #3 on: June 17, 2008, 08:43:41 AM »
well you see your variables can contain 31 characters but I did not count the symbols when I counted the variable number. So the mathematical problem was 36 to the 31st power which is 175945240730481326961561908185588573916379060606336.
I must be dreaming (wake up me wake up) How could this have happened. Tireas' cry when he found his computer fallen over in his chair with it's screen shattered.

alias


  • Guest
Re: Variables
« Reply #4 on: June 20, 2008, 05:01:15 AM »
actually wouldnt it be 31! (or 31 factorial) since you cannot count the same combo twie for each different letter.
31! = 8.2228385x10^33 so its quiet the large number still.

Tireas Dragon


  • GMG Extraordinaire

  • ***


  • Posts: 1626

  • Trying to recover from my shattered screen.
Re: Variables
« Reply #5 on: June 20, 2008, 01:42:19 PM »
Actually I forgot to take into account the fact that not all variables have 31 characters so Its quite a bit more.
I must be dreaming (wake up me wake up) How could this have happened. Tireas' cry when he found his computer fallen over in his chair with it's screen shattered.