What's the value of 40! ?
What's the largest value a variable can accurately hold?
Rim-shot!
WaltP
Posting Sage w/ dash of thyme
10,505 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944
Oops. Sorry. I tend not to bother reading posts that are 7 years old... My philosophy is if there's a problem, let it stay buried rather than dig it up and let it live yet again. That may be just me...
WaltP
Posting Sage w/ dash of thyme
10,505 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944
hmmmm....i tried a simple code with unsigned long and it worked until 12!
What's the maximum value an unsigned long can hold?
What's the actual result at 12?cn v sumhow ... bt any easy diff way possible?
And what does this mean? Is it Swahili? Reread the member rules about posting in English.
WaltP
Posting Sage w/ dash of thyme
10,505 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944
The following code using long long works up to 20!. But again, i'm trying to find out why the vegaseat program stops working for some (a few) particular numbers. Has anyone else tried it ?
"...for some (a few) particular numbers?" Which particular numbers? If 12, we already explained that.
WaltP
Posting Sage w/ dash of thyme
10,505 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944