SW006012 Microchip Technology, SW006012 Datasheet - Page 130

C COMPILER FOR DSPIC30F FAMILY

SW006012

Manufacturer Part Number
SW006012
Description
C COMPILER FOR DSPIC30F FAMILY
Manufacturer
Microchip Technology
Type
MPLAB® C30 Compilerr
Series
PIC24 & DsPICr
Datasheets

Specifications of SW006012

Supported Families
PIC24, DsPIC30F And DsPIC33F
Core Architecture
PIC, DsPIC
Kit Contents
Software And Docs
Mcu Supported Families
PIC24 MCUs And DsPIC DSCs
Tool Type
Compiler
Processor Series
PIC24, dsPIC
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
dsPIC30F
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
MPLAB
A.7
A.8
DS51284F-page 124
INTEGERS
FLOATING POINT
®
C30 User’s Guide
Implementation-Defined Behavior for Integers is covered in section G.3.5 of the ANSI
C Standard.
The following table describes the amount of storage and range of various types of
integers: (ISO 6.1.2.5)
TABLE A-2:
What is the result of converting an integer to a shorter signed integer, or the result of
converting an unsigned integer to a signed integer of equal length, if the value cannot
be represented? (ISO 6.2.1.2)
There is a loss of significance. No error is signaled.
What are the results of bitwise operations on signed integers? (ISO 6.3)
Shift operators retain the sign. Other operators act as if the operand(s) are unsigned
integers.
What is the sign of the remainder on integer division? (ISO 6.3.5)
+
What is the result of a right shift of a negative-valued signed integral type? (ISO 6.3.7)
The sign is retained.
Implementation-Defined Behavior for Floating Point is covered in section G.3.6 of the
ANSI C Standard.
Is the scaled value of a floating constant that is in the range of the representable value
for its type, the nearest representable value, or the larger representable value immedi-
ately adjacent to the nearest representable value, or the smallest representable value
immediately adjacent to the nearest representable value? (ISO 6.1.3.1)
The nearest representable value.
char
signed char
unsigned char
short
signed short
unsigned short
int
signed int
unsigned int
long
signed long
unsigned long
Designation
INTEGER TYPES
Size (bits)
16
16
16
16
16
16
32
32
32
8
8
8
-128 … 127
-128 … 127
0 … 255
-32768 … 32767
-32768 … 32767
0 … 65535
-32768 … 32767
-32768 … 32767
0 … 65535
-2147483648 … 2147438647
-2147483648 … 2147438647
0 … 4294867295
© 2007 Microchip Technology Inc.
Range

Related parts for SW006012