![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Sep 2007
Posts: 8
Rep Power: 0
![]() |
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
![]() |
|
|
|
|
|
#2 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
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 |
|
|
|
|
|
#3 |
|
Newbie
Join Date: Sep 2007
Posts: 8
Rep Power: 0
![]() |
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
|
|
|
|
|
|
#4 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
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 |
|
|
|
|
|
#5 |
|
Hobbyist Programmer
Join Date: Jan 2006
Location: Menidi, Athens, Greece
Posts: 243
Rep Power: 3
![]() |
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) |
|
|
|
|
|
#6 |
|
Newbie
Join Date: Sep 2007
Posts: 8
Rep Power: 0
![]() |
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
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
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 |