[DDI-SRG] long and short integers
Wendy Thomas
wlt at pop.umn.edu
Wed Aug 1 12:42:52 EDT 2007
so the only difference between a long integer and a short integer is that
that short is limited to +32767 to -32768 where as a long can be
+922337236854775807 to -922337236854775808. In either case I can define
the total digits. Basically the rule is "if it ain't short its long"? and
if I want to be safe I just declare everything to be long so that I don't
have to check the ranges of 5 digit numbers.
Tell me this distinction has some value in the world of processing social
science data. I can see identifying an integer, but is this necessary????
Wendy
Wendy L. Thomas Phone: +1 612.624.4389
Data Access Core Director Fax: +1 612.626.8375
Minnesota Population Center Email: wlt at pop.umn.edu
University of Minnesota
50 Willey Hall
225 19th Avenue South
Minneapolis, MN 55455
More information about the DDI-SRG
mailing list