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 support@ccsinfo.com

IEEE-754 Floating-Point Conversion

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



Joined: 06 Nov 2010
Posts: 22
Location: montreal qc

View user's profile Send private message Send e-mail

IEEE-754 Floating-Point Conversion
PostPosted: Fri Nov 15, 2013 3:46 am     Reply with quote

Hi there i have 4 hex floating point number
41 A7 33 33

i want to convert in Decimal Floating-Point


i know the answer is :20.9
http://babbage.cs.qc.cuny.edu/IEEE-754.old/32bit.html

but how to do it in c ????

Thanks for help!!

Regards
temtronic



Joined: 01 Jul 2010
Posts: 9197
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Fri Nov 15, 2013 6:07 am     Reply with quote

Have a look in the Help files that CCS supplies (press F11 while a project is open...).
In the FAQ section, they explain how. It's been there since v2.5xx.

hth
jay
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