The Dink Network

merlin's Profile

wizardb.gif
merlin
Peasant He/Him
 
When nightfall comes...

E-Mail aerea@cox.net
Web Page http://dink.sourceforge.net
Private Message
ICQ 280911002
AIM ginnux

2005-02-21 17:26:52
wizardb.gif
merlin
Peasant He/Him
 
No it isn't. ANSI standard defines -2147483648 to 2147483647. I can't be bothered to look it up at this moment but I made a quick little C++ program to prove it:

#include <iostream>
#include <limits>

int main()
{
std::cout << "largest int == " << std::numeric_limits<int>::max() << "\n";
std::cout << "smallest int == " << std::numeric_limits<int>::min() << std::endl;

return 0;
}

Yields this:

raven@aida ~$ g++ limittest.cpp
raven@aida ~$ ./a.out
largest int == 2147483647
smallest int == -2147483648

I'll find it in the ANSI standard if you want.

merlin has released 4 files

TitleCategoryAvgUpdated
Dink Smallwood 1.08 Source CodeDevelopment, Source, Official, Dink.exeExceptional 9.9March 10th, 2006
Windemere SourceDevelopment, Miscellaneous, Source, Dink.exeFair 6.8January 4th, 2006
DFArcMiscellaneousExceptional 9.4December 11th, 2004
Dink Sheet MusicMiscellaneousExceptional 9.0October 16th, 2003

merlin has written 4 reviews

TitleFileTypeScoreDate
Well Dink & LibbyNormalFair 5.0November 7th, 2003
Well Cycles of EvilFeaturedExceptional 9.0July 28th, 2003
Okay Victim of LifeNormalHorrible 2.9July 17th, 2003
Now Ghosts of the Cast (The)NormalHorrible 0.1July 9th, 2003