PCWHD IDE COMPILER Custom Computer Services Inc (CCS), PCWHD IDE COMPILER Datasheet - Page 356

PCWHD PIC10,16,18,24, DSPIC

PCWHD IDE COMPILER

Manufacturer Part Number
PCWHD IDE COMPILER
Description
PCWHD PIC10,16,18,24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCWHD IDE COMPILER

For Use With/related Products
Microchip PIC10, PIC12, PIC16, PIC18, PIC24, dsPIC MCUs
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1009
What is the format of floating point numbers?
The CCS PCD compiler uses the IEEE format for all the floating point number operations. The
following floating point numbers are supported:
342
31
47
• 32 bit floating point numbers – Single Precision
• 48 bit floating point numbers – Extended Precision
• 64 bit floating point numbers – Double Precision
The format of these numbers is as follows:
32 bit floating point numbers – Single Precision
Sign
• 23 bit Mantissa (Bit 0 – Bit 22)
• 8 bit exponent (Bit 23 – bit 30)
• 1 sign bit
Example Numbers
0
1
-1
10.
100
123.45
123.45E20
213.45E-20
48 bit floating point numbers –Extended Precision
Sign
• 1 Sign bit – (Bit 47)
• 8 bit Exponent (Bits 39 – 46)
• 39 bit Mantissa (Bit 0 – bit 39)
30
46
Exponent
Exponent
39
(Bit 31)
23
38
Ex
31
Mantissa
Representation
0000
3F80
BF80
4120
42C8
42F6
6427
21B6
Hex - 32 bit float
22
Mantissa
32
31
Mantissa
15
15------------0
0000
0000
0000
0000
0000
E666
4E53
2E17
Mantissa
16
0
15
Mantissa
0

Related parts for PCWHD IDE COMPILER