Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Binary Floating Point


  • Please log in to reply
8 replies to this topic

#1 geekman2000

geekman2000

  • Members
  • 10 posts
  • OFFLINE
  •  
  • Local time:05:32 PM

Posted 20 November 2006 - 05:02 AM

Is there anyone in this froum who knows how to work out binary floating point?

BC AdBot (Login to Remove)

 


m

#2 projectfocus

projectfocus

  • Members
  • 474 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Brighton
  • Local time:11:32 PM

Posted 20 November 2006 - 10:55 AM

Yes but you may have to give a example and I can explain.
Posted Image

#3 geekman2000

geekman2000
  • Topic Starter

  • Members
  • 10 posts
  • OFFLINE
  •  
  • Local time:05:32 PM

Posted 20 November 2006 - 11:12 AM

I have a Add and Subtract floating point, can you do me an exapmple on them, i'll give you the numbers later.
Yes i have a couple of examples. Add me on msn if u have it.
Me e-mail is XXXXXXXXXXXXXXXXXXXX
Thanks for the help, cause i need to be able to do this for some college work.
Thanks again
Geekman2000

(Moderator edit: E-mail address has been deleted to avoid its harvesting by spambots. Members are admonished never to post their E-mail addresses on public pages. jgweed)

Edited by jgweed, 20 November 2006 - 11:22 AM.


#4 projectfocus

projectfocus

  • Members
  • 474 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Brighton
  • Local time:11:32 PM

Posted 20 November 2006 - 11:28 AM

I will try and explain the basics it is a number that is split into 3 sections.

Posted Image

That would be 5.75

Can you see how that works. All is added up in the normal way. Add up the 2 part seperatly.

Edited by projectfocus, 20 November 2006 - 11:36 AM.

Posted Image

#5 projectfocus

projectfocus

  • Members
  • 474 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Brighton
  • Local time:11:32 PM

Posted 20 November 2006 - 11:43 AM

so if you use the same structure above you can work out the following


01100110
that means positive number as no sign bit.
Then working from left we have 4+2 . (.25) + (.125)
So that would be 6.375

Just remeber the binary always goes ether side of the floating point. Numbers are read from the floating point out. That means before the decimal point each value will double the future you are away from the decimal place. And if you are going right of the point it will go 1/n were n will double the further away from the point you go.

I hope that makes sense. It is very hard to explain.
Posted Image

#6 geekman2000

geekman2000
  • Topic Starter

  • Members
  • 10 posts
  • OFFLINE
  •  
  • Local time:05:32 PM

Posted 21 November 2006 - 11:38 AM

Thanks for the help. I am now able to understand it thank you once again.

#7 projectfocus

projectfocus

  • Members
  • 474 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Brighton
  • Local time:11:32 PM

Posted 21 November 2006 - 11:42 AM

Glad I could help.
Posted Image

#8 geekman2000

geekman2000
  • Topic Starter

  • Members
  • 10 posts
  • OFFLINE
  •  
  • Local time:05:32 PM

Posted 28 November 2006 - 09:48 AM

Hi project focus, it seems i thought i understood it, but i didn't.
Could you get my e-mail of my profile and add me to messenger please.
I have a couple of examples. If you could do them and then tell me how you did it i am sure i will be able to understand properly.

Thanks Geekman2000

#9 projectfocus

projectfocus

  • Members
  • 474 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Brighton
  • Local time:11:32 PM

Posted 29 November 2006 - 07:39 AM

I am on a Course all of this week so I will not be able to say I will be able to look at them straight away but if you send me the examples then I have no problem with helping you through some of the scenarios.
Posted Image




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users