Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Sep 2nd, 2007, 5:14 PM   #1
harryc
Newbie
 
Join Date: Sep 2007
Posts: 8
Rep Power: 0 harryc is on a distinguished road
How Do I Represent/Convert Floating Point Numbers into IEEE-754

hello everyone,I am new to this programming world and I hope u guys call help in this...I would need a program in C++ which will convert floating point numbers into IEEE-754 format..for example +1.5 is represented as 00111111110000000000000000000000. Would really appreciate if anyone could help me in this..tHanks in advance
harryc is offline   Reply With Quote
Old Sep 2nd, 2007, 5:38 PM   #2
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
It is not a recommended procedure to cross post. Why? Simple, actually. It indicates that you have no confidence in the answers you might receive. Your goal is to trade off one opinion against another.

I ask you, in frankness, if you have to pose the question, in the first place, how can you distinguish between good and bad responses?

Have you consisded applying direct thought? It isn't a perfect solution, but it has a fairly decent probability of success.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Sep 2nd, 2007, 5:47 PM   #3
harryc
Newbie
 
Join Date: Sep 2007
Posts: 8
Rep Power: 0 harryc is on a distinguished road
well, i m sure ppl in here are well experienced..n the responses should b good..this is my first thread..I have not been on any forums before..hope this is not a bad start..would really appreciate if u could teach me..i would like to be a student>>thx
harryc is offline   Reply With Quote
Old Sep 2nd, 2007, 6:09 PM   #4
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
You know what? Some people in here can even spell. They don't use 'u' for 'you'. They don't use 'b' for 'be'. Guess what? this IS a bad start, for you. Grow up; face it; solve it.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Sep 3rd, 2007, 2:46 AM   #5
Soulstorm
Hobbyist Programmer
 
Soulstorm's Avatar
 
Join Date: Jan 2006
Location: Menidi, Athens, Greece
Posts: 243
Rep Power: 3 Soulstorm is on a distinguished road
harryc, you need to make clearer and better posts if you want to receive decent answers. Try to use the correct grammar when posting in forums, especially in the non-gaming ones.

As for your question, I would propose some reading of the AND and OR operators in C++. I think it will be of great help. When you do, come back in here and ask for more.
__________________
Project::Soulstorm (personal homepage)
Soulstorm is offline   Reply With Quote
Old Sep 3rd, 2007, 2:53 PM   #6
harryc
Newbie
 
Join Date: Sep 2007
Posts: 8
Rep Power: 0 harryc is on a distinguished road
Thanks Soulstorm,I appreciate your advice.I think we should have more people like you in here,who advices and not just complain and find faults without giving an advice.Thanks once again
harryc is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Floating point range kurt Python 4 Apr 10th, 2007 4:13 PM
how to print floating point numbers eax Assembly 5 Apr 17th, 2006 7:10 PM
Median/Mode in arrays? {Need help} Java|Tera Java 27 Nov 29th, 2005 10:50 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 11:41 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC