Groups | Search | Server Info | Login | Register
Groups > comp.arch.arithmetic > #60
| From | Daku <dakupoto@gmail.com> |
|---|---|
| Newsgroups | comp.arch, comp.arch.arithmetic |
| Subject | IEEE-754-2008 standard questions |
| Date | 2012-02-04 20:18 -0800 |
| Organization | http://groups.google.com |
| Message-ID | <53380dad-61fc-492e-ba4b-336bd70e5b09@vh10g2000pbc.googlegroups.com> (permalink) |
Cross-posted to 2 groups.
May be my query is more appropriate for the comp.arch.arithmetic forum, but lately it has become filled up by spam and trash. I have a few questions regarding the IEEE-754-2008 standard. As per this standard, the general format for a 32 bit number converted to his format is 1 bit for sign, 8 bits for exponent and 23 bits for mantissa/significand. The mantissa is always of the form 1.<fraction part>. So for example, 12.375 converted to this format is 1.5468.., with exponent of 3. The standard 32 representation does not contain the "1.", -- the "hidden bit". So, given all of this, how would one convert a number from the IEEE-754-2008 format to the standard human understandable form. For example, 2*12.375 = 24.75, but in the IEEE-754-2008 32-bit format it is 1.<some fraction> Any hints/suggestions would be greatly appreciated. Thanks in advance for your help.
Back to comp.arch.arithmetic | Previous | Next — Next in thread | Find similar
IEEE-754-2008 standard questions Daku <dakupoto@gmail.com> - 2012-02-04 20:18 -0800 Re: IEEE-754-2008 standard questions Quadibloc <jsavard@ecn.ab.ca> - 2012-02-05 14:05 -0800 Re: IEEE-754-2008 standard questions Brian Drummond <brian@shapes.demon.co.uk> - 2012-02-07 09:43 +0000
csiph-web