CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

32 bit to 24 bit.....

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
roykyn



Joined: 25 Nov 2006
Posts: 9

View user's profile Send private message

32 bit to 24 bit.....
PostPosted: Thu Nov 30, 2006 2:35 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Thu Nov 30, 2006 2:44 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Sun Dec 03, 2006 12:06 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Sun Dec 03, 2006 3:50 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Mon Dec 04, 2006 2:05 pm     Reply with quote

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: 1907

View user's profile Send private message

PostPosted: Mon Dec 04, 2006 5:08 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Sat Dec 09, 2006 12:22 pm     Reply with quote

dude ccs can be used in mplab.....
go to project>>select language toolsuite......
dyeatman



Joined: 06 Sep 2003
Posts: 1933
Location: Norman, OK

View user's profile Send private message

PostPosted: Sat Dec 09, 2006 12:55 pm     Reply with quote

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.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group