Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| Message-ID | <4E7BC366.2DA4@mindspring.com> (permalink) |
|---|---|
| Date | 2011-09-22 19:23 -0400 |
| From | pete <pfiland@mindspring.com> |
| Organization | PF |
| Newsgroups | comp.lang.c |
| Subject | Re: portability issues and limits.h |
| References | <c8bd942e-a376-4d25-afa7-4908798e9f5d@n35g2000yqf.googlegroups.com> |
V.Subramanian, India wrote: > '5.2.4.2.1 Sizes of integer types > <limits.h>' : > > 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
Back to comp.lang.c | Previous | Next — Previous in thread | Find similar | Unroll thread
portability issues and limits.h "V.Subramanian, India" <subramanian100in@yahoo.com> - 2011-09-22 07:32 -0700 Re: portability issues and limits.h James Kuyper <jameskuyper@verizon.net> - 2011-09-22 10:50 -0400 Re: portability issues and limits.h pete <pfiland@mindspring.com> - 2011-09-22 19:23 -0400
csiph-web