DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
ANSI implementation-defined behavior

C Implementation limits description

This section describes the limits on values defined for this implementation.

Environmental limits

The following environmental limits are defined for this implementation:

limits.h

Variable Limit  
CHAR_BIT 8  
CHAR_MAX SCHAR_MAX  
CHAR_MIN SCHAR_MIN  
INT_MAX 2147483647  
INT_MIN -INT_MAX-1  
LONG_MAX 2147483647L  
LONG_MIN -LONG_MAX-1  
MB_LEN_MAX 5  
SCHAR_MIN (-128)  
SCHAR_MAX 127  
SHRT_MAX 32767  
SHRT_MIN (-32768)  
UCHAR_MAX 255  
UINT_MAX 4294967295U  
ULONG_MAX 4294967295UL  
USHRT_MAX 65535  

float.h

Variable Limit  
FLT_ROUNDS (+__flt_rounds)  

   
FLT_RADIX 2  
FLT_MANT_DIG 24  
FLT_EPSILON ((float)1.19209290E-07F)  
FLT_DIG 6  
FLT_MIN_EXP (-125)  
FLT_MIN ((float)1.17549435E-38F)  
FLT_MIN_10_EXP (-37)  
FLT_MAX_EXP 128  
FLT_MAX ((float)3.40282347E+38F)  
FLT_MAX_10_EXP 38  

   
DBL_MANT_DIG 53  
DBL_EPSILON 2.2204460492503131E-16  
DBL_DIG 15  
DBL_MIN_EXP (-1021)  
DBL_MIN 2.2250738585072014E-308  
DBL_MIN_10_EXP (-307)  
DBL_MAX_EXP 1024  
DBL_MAX 1.7976931348623157E+308  

   
LDBL_MANT_DIG 64  
LDBL_EPSILON 1.0842021724855044340075E-19L  
LDBL_DIG 18  
LDBL_MIN_EXP (-16381)  
LDBL_MIN (+__ldmin[0])  
LDBL_MIN_10_EXP (-4931)  
LDBL_MAX_EXP 16384  
LDBL_MAX (+__ldmax)  
LDBL_MAX_10_EXP 4932  


Next topic: Translation limits
Previous topic: Locale-specific behavior

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003