previous next Up Title Contents Index

24.2 Borland- C:n eri lukutyyppien arvoalueet

	 Tyyppi        |   Koko  |                 Arvoalue 
	----------------------------------------------------------------------------
	 unsigned char |  8 bits |                  0 -   255
	 char          |  8 bits |               - 128 -   127
	 enum          | 16 bits |            - 32,768 -   32,767
	 unsigned int  | 16 bits |                  0 -   65,535
	 short int     | 16 bits |            - 32,768 -   32,767
	 int           | 16 bits |            - 32,768 -   32,767
	 unsigned long | 32 bits |                  0 -   4,294,967,295
	 long          | 32 bits |     - 2,147,483,648 -   2,147,483,647
	 float         | 32 bits | 0 ja +/-   3.4 E- 38 -   3.4 E+38
	 double        | 64 bits | 0 ja +/-  1.7 E- 308 -   1.7 E+308
	 long double   | 80 bits | 0 ja +/- 3.4 E- 4932 -   1.1 E+4932


previous next Up Title Contents Index