• Congratulations to the Class of 2024 on your results!
    Let us know how you went here
    Got a question about your uni preferences? Ask us here

Floating Point Representation (1 Viewer)

Reikira

Member
Joined
Mar 8, 2010
Messages
68
Gender
Male
HSC
2012
Hey guys, I'm just having trouble with expressing the exponent as 8bit binary. Could anyone give me a hand please?
 

brent012

Webmaster
Webmaster
Joined
Feb 26, 2008
Messages
5,291
Gender
Male
HSC
2011
What about it? You just add the power to 127 and convert to binary.
 

Reikira

Member
Joined
Mar 8, 2010
Messages
68
Gender
Male
HSC
2012
Yeah but in the Sam Davis textbook, they said binary 140 (after adding 127) is 11001010, isnt it 10001100?
 

brent012

Webmaster
Webmaster
Joined
Feb 26, 2008
Messages
5,291
Gender
Male
HSC
2011
Yeah but in the Sam Davis textbook, they said binary 140 (after adding 127) is 11001010, isnt it 10001100?
Yeah it is, what edition is your Sam Davis textbook? Mine says 10001100. I have a 2010 reprint.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top