merlin's Profile
When nightfall comes...
aerea@cox.net
http://dink.sourceforge.net
Private Message
280911002
ginnux
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.
#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
Title | Category | Avg | Updated |
---|---|---|---|
Dink Smallwood 1.08 Source Code | Development, Source, Official, Dink.exe | 9.9 | March 10th, 2006 |
Windemere Source | Development, Miscellaneous, Source, Dink.exe | 6.8 | January 4th, 2006 |
DFArc | Miscellaneous | 9.4 | December 11th, 2004 |
Dink Sheet Music | Miscellaneous | 9.0 | October 16th, 2003 |
merlin has written 4 reviews
Title | File | Type | Score | Date |
---|---|---|---|---|
Well | Dink & Libby | Normal | 5.0 | November 7th, 2003 |
Well | Cycles of Evil | Featured | 9.0 | July 28th, 2003 |
Okay | Victim of Life | Normal | 2.9 | July 17th, 2003 |
Now | Ghosts of the Cast (The) | Normal | 0.1 | July 9th, 2003 |