Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!nx01.iad01.newshosting.com!newshosting.com!69.16.185.11.MISMATCH!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Thu, 22 Sep 2011 18:23:16 -0500 Message-ID: <4E7BC366.2DA4@mindspring.com> Date: Thu, 22 Sep 2011 19:23:18 -0400 From: pete Reply-To: pfiland@mindspring.com Organization: PF X-Mailer: Mozilla 3.04Gold (WinNT; I) MIME-Version: 1.0 Newsgroups: comp.lang.c Subject: Re: portability issues and limits.h References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 23 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 4.154.222.145 X-Trace: sv3-AnnW4VdKRckWwQBj7sabfM9/mgzAcUx2MZKJs/EPNwk+YvV53HDpAxvZwKYKvAwkHaShWn160y86vLa!esgB7g3oqU2O9rAscwsIT5GV3r57oibrpQEjNDsLG6jUng76AYXK4rgUOMKSU/FV0XhCmQ72omX0!Iy46wLrboMc= X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1723 Xref: x330-a1.tempe.blueboxinc.net comp.lang.c:10730 V.Subramanian, India wrote: > '5.2.4.2.1 Sizes of integer types > ' : > > The implementation-defined values shall be equal or greater in > magnitude(absolute value) to those shown with the same sign. > If I use the #defined macros INT_MIN and INT_MAX from limits.h, then > under the implementation that I use, the corresponding values are > -2147483648 and +2147483647 respectively whereas the ISO C99 Standard > requires lower absolute values than these. > Please explain. The values on the implementation that you are using, are: "equal or greater in magnitude(absolute value)" just as the standard requires. -- pete