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

Absolute value of a float

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



Joined: 27 Jan 2009
Posts: 19

View user's profile Send private message

Absolute value of a float
PostPosted: Tue Mar 10, 2009 1:59 pm     Reply with quote

Hi, I'm trying to get the absolute value of a float variable I have in my program...

Is there any function I can use ?

I want to get a maximum and the maximum can be negative or positive...


Thanks Smile
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Mar 10, 2009 2:06 pm     Reply with quote

Look at the list of CCS functions:
http://www.ccsinfo.com/content.php?page=compspecific
Look at the column on the right, which is the Math functions.
Which one looks like it does absolute value ?


Please bookmark that page.
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