views:

118

answers:

3

I HAVE NO IDEA what this means please help anyone?

With 32-bit binary sequences

x = 0100 0110 1101 1000 0000 0000 0000 0000 

and

y = 1011 1110 1110 0000 0000 0000 0000 0000 

representing single precision IEEE 754 floating point numbers, perform following arithmetics and show the results in both normalized format and IEEE 754 single-precision format. Show your steps.

(a) x + y
(b) x * y
+2  A: 

You just need to first understand binary.

Gabriel
There are 10 types of people, http://bit.ly/cK7LnC and so on. ;)
p.campbell
??????????????????????????
J.B.L. Hjob
plz some1 help i have 2 go 2 skool in like 10 mins – J.B.L. Hjob 0 secs ago edit
J.B.L. Hjob
+3  A: 

First, convert the binary to numbers you can work with. Floating point has a sign, a (biased) exponent, and a significand. Wiki is just one place that will tell you which bits go to which part.

Second, do the arithmetic with those parts. Wiki has an example.

mmsmatt
plz some1 help i have 2 go 2 skool in like 10 mins – J.B.L. Hjob 0 secs ago edit
J.B.L. Hjob
Wha? I thought this wasn't homework help!
mmsmatt
+9  A: 

I'm going to answer the question that you didn't ask:

I have a homework assignment, and I don't understand it at all; what should I do?

First, read the sections of the textbook (or course notes) that the assignment covers. In sufficiently advanced classes, there will be lots of material that you're expected to know that isn't explicitly covered in lectures. It's your responsibility to read the textbook and learn it.

If you still have questions after reading the textbook, go talk to the teacher/professor. Attend office hours regularly. If you can't make office hours, email the professor to set up a different time to meet.

Talk to your peers. Get a group together to discuss the course material and the assignments. Work together on the homework when allowed (even if you don't need to, you will learn more by working with others).

Don't post on random discussion boards in the hopes that someone won't notice that they're doing your homework. If you do that, you won't actually learn the material, and you'll just end up failing the final exam.

Finally, 45 minutes before an assignment is due is way too late to realize that you don't know how to do it. Read assignments as soon as they are assigned. If you don't understand something, immediately do what you need to do to understand it (whether that be reading the text or email the professor to ask them to clarify a poorly-worded question). Once you understand the assignment, estimate how long it will take you to finish. Double your estimate. Budget at least that much time to do the work.

Stephen Canon