View previous topic :: View next topic |
Author |
Message |
roykyn
Joined: 25 Nov 2006 Posts: 9
|
32 bit to 24 bit..... |
Posted: Thu Nov 30, 2006 2:35 pm |
|
|
all the floating point nos in the ccs is 32 bit.....by default ...can i make it microchip 24 bit floating point .....this should include all the operations like additina sub div and mul.... |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Thu Nov 30, 2006 2:44 pm |
|
|
Quote: | ...can i make it microchip 24 bit floating point . |
No.
Also, you don't have to start a new thread for each floating point
question. Just add a post onto your existing thread for floating point. |
|
|
roykyn
Joined: 25 Nov 2006 Posts: 9
|
|
Posted: Sun Dec 03, 2006 12:06 pm |
|
|
did u understand ...i am not talking about conversion......but a seperate mode
in which all the floating point nos are 24 bit....cos this option is avaliable in hitech picc compiler |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Sun Dec 03, 2006 3:50 pm |
|
|
Quote: | but a seperate mode in which all the floating point nos are 24 bit |
Get the CCS manual here:
http://www.ccsinfo.com/downloads.php
In the section on "Basic and Special types" (page 33 in the Acrobat
reader), it says this:
Quote: | float: Defines a 32 bit floating point number |
That's the only one that CCS supports. |
|
|
roykyn
Joined: 25 Nov 2006 Posts: 9
|
|
Posted: Mon Dec 04, 2006 2:05 pm |
|
|
i have read the manual tooo.....i know tat.....
in mplab....rt click on any variable in watch window...and select properties...u ll find many supporting float formats...tats why i am confuse...and hope there is support 4 24 bit.... |
|
|
newguy
Joined: 24 Jun 2004 Posts: 1908
|
|
Posted: Mon Dec 04, 2006 5:08 pm |
|
|
roykyn wrote: | i have read the manual tooo.....i know tat.....
in mplab....rt click on any variable in watch window...and select properties...u ll find many supporting float formats...tats why i am confuse...and hope there is support 4 24 bit.... |
CCS isn't MPLAB. CCS doesn't support 24 bit floating point. Understand now? |
|
|
roykyn
Joined: 25 Nov 2006 Posts: 9
|
|
Posted: Sat Dec 09, 2006 12:22 pm |
|
|
dude ccs can be used in mplab.....
go to project>>select language toolsuite...... |
|
|
dyeatman
Joined: 06 Sep 2003 Posts: 1934 Location: Norman, OK
|
|
Posted: Sat Dec 09, 2006 12:55 pm |
|
|
CCS CAN be used IN MPLAB but CCS is NOT Microchip any more than Hitech is Microchip. MPLAB allows the use of a number of different compilers and each one has it's limitations. MPLAB is simply a development environment and CANNOT change the compiler limitations regardless of what you may see in MPLAB. If you like the options in HiTech then pay a LOT more money and go use HiTech.
Bottom line...the CCS compiler WILL NOT HANDLE 24 bits regardless of how or where it is used. The current CCS manual gives all the available data capabilities. There are no others! How many people here have to tell you that?
Also, It would also be appreciated if you would spel out yr wds whn you uz this bd. This is not a teenage chat room.....it is a software compiler user support forum used by many international users that may not understand your slang....Dude. |
|
|
|