mikroC

making it simple...

mikroC - C Compiler for Microchip PIC microcontrollers

Below is the overview of arithmetic types:

Type

Size

Range

 

 

 

(unsigned) char

8-bit

0 .. 255

 

 

 

signed char

8-bit

- 128 .. 127

 

 

 

(signed) short (int)

8-bit

- 128 .. 127

 

 

 

unsigned short (int)

8-bit

0 .. 255

 

 

 

(signed) int

16-bit

-32768 .. 32767

 

 

 

unsigned (int)

16-bit

0 .. 65535

 

 

 

(signed) long (int)

32-bit

-2147483648 .. 2147483647

 

 

 

unsigned long (int)

32-bit

0 .. 4294967295

 

 

 

float

32-bit

±1.17549435082E-38 ..

±6.80564774407E38

 

 

 

 

 

double

32-bit

±1.17549435082E-38 ..

±6.80564774407E38

 

 

 

 

 

long double

32-bit

±1.17549435082E-38 ..

±6.80564774407E38

 

 

 

 

 

 

 

page

MikroElektronika: Development tools - Books - Compilers

61