Jump to content

In need of floating point help

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
Ansems_keyblade

Ansems_keyblade

    Newbie

  • Members
  • Pip
  • 2 posts
Can you help me with this question? Sorry if I posted in wrong place.

Normalise the floating point decimal number 242.5 by converting it into a 16-bit binary representation. Allocate 8 bits for the mantissa, 7 bits for the exponent and 1 bit for the sign. Convert the result into hexadecimal.

Thanks!

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
What part of it are you having trouble with?
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
Ansems_keyblade

Ansems_keyblade

    Newbie

  • Members
  • Pip
  • 2 posts
the mantissa/exponent/sign bit

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
IEEE Standard 754 Floating-Point
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog