Page 1 of 1

floating point conversion

Posted: Thu Jun 14, 2012 11:15 am
by skandalOS
hello,

I've got a question about floating numbers, I didn't find the formula how generate a floating number.

There is for example the fomula: sign*2^exp*mantisse but you can use this formula if you already have the
binary representation.

for example: 01000001101111001100110011001101 would representate 23.6 (from IEEE Converter)

but how do you calculate the binary representation please?

thnx b4

Re: floating point conversion

Posted: Thu Jun 14, 2012 11:40 am
by iansjack

Re: floating point conversion

Posted: Fri Jun 15, 2012 2:01 am
by Solar
Not to forget the old standby, Wikipedia.