File:  [MW Coherent from dump] / coherent / a / usr / man / MULTI / limits.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:34 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent



limits.h                   Header File                   limits.h




Define numerical limits

#include <limits.h>

The header  file lliimmiittss.hh defines  macros that set  the numerical
limits  for  the translation  environment.   It  is described  in
sections 2.2.4.2 and 4.1.4 of the ANSI Standard.

The following  table gives the  macros defined in  lliimmiittss.hh. Each
value  given  is   the  macro's  minimum  maximum:  a  conforming
implementation of C must  meet these limits, and may exceed them.

CCHHAARR_BBIITT
     Number of bits in a cchhaarr. This must be at least eight.

CCHHAARR_MMAAXX
     Largest value  representable in an  object of type  cchhaarr. If
     the implementation  defines a cchhaarr to be  signed, then it is
     equal to the value  of the macro SSCCHHAARR_MMAAXX; otherwise, it is
     equal to the value of the macro UUCCHHAARR_MMAAXX.

CCHHAARR_MMIINN
     Smallest value  representable in an object  of type cchhaarr. If
     the implementation  defines a cchhaarr to be  signed, then it is
     equal to the value  of the macro SSCCHHAARR_MMIINN; otherwise, it is
     zero.

IINNTT_MMAAXX
     Largest  value representable  in an object  of type  iinntt; it
     must be at least 32,767 (0x7FFF).

IINNTT_MMIINN
     Smallest value  representable in an  object of type  iinntt; it
     must be at most -32,767 (0x8000).

LLOONNGG_MMAAXX
     Largest value  representable in an object  of type lloonngg iinntt;
     it must be at least 2,147,483,647 (0x7FFFFFFFL).

LLOONNGG_MMIINN
     Smallest value representable  in an object of type lloonngg iinntt;
     it must be at most -2,147,483,647 (0x80000000L).

MMBB_LLEENN_MMAAXX
     Largest number of  bytes in any multibyte character, for any
     locale; it must be at least one.

SSCCHHAARR_MMAAXX
     Largest  value representable  in  an object  of type  ssiiggnneedd
     cchhaarr; it must be at least 127.

SSCCHHAARR_MMIINN
     Smallest  value representable  in an  object of  type ssiiggnneedd
     cchhaarr; it must be at most -127.


COHERENT Lexicon                                           Page 1




limits.h                   Header File                   limits.h




SSHHRRTT_MMAAXX
     Largest value representable  in an object of type sshhoorrtt iinntt;
     it must be at least 32,767 ((sshhoorrtt)0x7FFF).

SSHHRRTT_MMIINN
     Smallest value representable in an object of type sshhoorrtt iinntt;
     it must be at most -32,767 ((sshhoorrtt)0x8000).

UUCCHHAARR_MMAAXX
     Largest value  representable in  an object of  type uunnssiiggnneedd
     cchhaarr; it must be at least 255.

UUIINNTT_MMAAXX
     Largest value  representable in  an object of  type uunnssiiggnneedd
     iinntt; it must be at least 65,535 ((uunnssiiggnneedd iinntt)0xFFFF).

UULLOONNGG_MMAAXX
     Largest value  representable in  an object of  type uunnssiiggnneedd
     lloonngg  iinntt;  it must  be  at  least 4,294,967,295  ((uunnssiiggnneedd
     lloonngg)0xFFFFFFFFL).

UUSSHHRRTT_MMAAXX
     Largest value  representable in  an object of  type uunnssiiggnneedd
     sshhoorrtt   iinntt;  it   must  be   at  least   65,535  ((uunnssiiggnneedd
     sshhoorrtt)0xFFFF).

***** See Also *****

hheeaaddeerr ffiilleess



























COHERENT Lexicon                                           Page 2



unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.