Download Amiga C Compiler User`s Reference Guide

Transcript
int
unsigned int
long
float
double
32
32
32
32
64
-2147483648 to 2147483647
o to 4294967295
-2147483648 to 2147483647
+/- 10E-37 to +/- 10E38
+/- 10E-307 to +/- 10E308
char
defines an 8-bit signed integer.
Text
characters are generated with bit 7 reset,
according to the standard ASCII format.
unsigned char
defines an 8-bit unsigned integer.
int
long
long int
all define a 32-bit signed integer.
unsigned
or
unsignedint
unsigned long
all define a 32-bit unsigned integer.
short or short int
both define a 16-bit signed integer.
unsigned short
defines a 16-bit unsigned integer.
float
defines a 32-bit signed floating point
number, with an 8-bit biased binary
exponent, and a 24-bit fractional part which
is stored in normalized form without the
high-order bit being explicitly represented.
The
exponent
bias is 127.
This
representation is equivalent to approximately
6 or 7 decimal digits of precision.
68000 Code Generation
5-3