Limits.h

Limits.h

"limits.h" is the header of the general purpose standard library of the C programming language which includes definitions of the characteristics of common variable types. The values are implementation specific, but may not be of lower magnitude than certain specified values in a conforming C implementation.

Member constants

The "minimum-magnitude value" column is the minimum possible magnitude for this constant as specified by the standard. In particular, _MIN values represent the minimum magnitude representable in the rarely-used one's complement and sign-magnitude forms. Most implementations will have larger magnitudes for at least some of these numbers. For instance:
* Two's complement implementations have SCHAR_MIN equal to –128 (and similarly for all other _MIN values).
* 32-bit implementations will set INT_MAX equal to +2,147,483,647 (and likewise for INT_MIN and UINT_MAX)
* Unicode-supporting implementations will set MB_LEN_MAX to 4 or more.
* Many DSPs have CHAR_BIT equal to 16 or more [http://www.parashift.com/c++-faq-lite/intrinsic-types.html#faq-26.4] [http://home.att.net/~jackklein/c/inttypes.html#char] .

ee also

* C standard library
* Float.h - Limits on floating-point numbers

External links

* [http://www.cwi.nl/~steven/enquire.html Enquire] : A program for automatically generating limits.h, and for checking that the values in an existing limits.h are correct

References

* [http://www.acm.uiuc.edu/webmonkeys/book/c_guide/2.5.html C Guide--2.5 limits.h] , accessed in September 2006.


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • Limits.h — Стандартная библиотека языка программирования С assert.h complex.h ctype.h errno.h fenv.h float.h inttypes.h iso646.h limits.h locale.h math.h setjmp.h signal.h stdarg.h stdbool.h stddef.h stdint.h stdio.h …   Википедия

  • limits — I noun amplitude, area, boundary, bounds, capacity, configuration, confines, dimensions, extremity, frontiers, limitations, metes and bounds, outlines, perimeters, premises, purview, range, reach, scope associated concepts: basis jurisdiction,… …   Law dictionary

  • limits — n. 1) city limits 2) (AE) (esp. mil.) off limits to; on limits to (the bar was put off limits to all military personnel) 3) within (reasonable) limits * * * on limits to (the bar was put off limits to all military personnel) (AE) (esp. mil.) off… …   Combinatory dictionary

  • limits.h — Стандартная библиотека языка программирования С assert.h complex.h ctype.h errno.h fenv.h float.h inttypes.h iso646.h limits.h locale.h math.h setjmp.h signal.h stdarg.h stdbool.h stddef.h …   Википедия

  • limits — /ˈlɪməts/ (say limuhts) plural noun Australian History → limits of location …  

  • limits — ribos statusas T sritis automatika atitikmenys: angl. boundaries; bounds; limits; ranges vok. Grenzen, f rus. пределы, m pranc. limites, f …   Automatikos terminų žodynas

  • limits — limitai statusas T sritis augalininkystė apibrėžtis Mažiausia ir didžiausia variacinės eilutės reikšmės. atitikmenys: angl. limits rus. лимиты …   Žemės ūkio augalų selekcijos ir sėklininkystės terminų žodynas

  • Limits to arbitrage — is a theory which assumes that restrictions placed upon funds, that would ordinarily be used by rational traders to arbitrage away pricing inefficiencies, leave prices in a non equilibrium state for protracted periods of time.The efficient market …   Wikipedia

  • Limits (collection) — Limits is a collection of short stories and essays by science fiction author Larry Niven, originally published in 1985. It contains:* Limits an overheard conversation between two aliens has chilling implications for the future of humanity * The… …   Wikipedia

  • Limits to Growth — Infobox Book name = Limits to Growth title orig = translator = image caption = Limits to Growth first edition cover. author = Donella H. Meadows Dennis L. Meadows Jørgen Randers William W. Behrens III illustrator = cover artist = country =… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”