In article <email@example.com>, firstname.lastname@example.org wrote:
> On Thursday, October 18, 2012 3:14:18 PM UTC+2, engr.om...@gmail.com wrote: > > Hi. Could anyone tell how floating number change into IEEE format. > > > > like 2.323, 8.9, -0.22 to equivalent 32-bit IEEE format. Thanks. > this is not I want. I want binary equivalent. > for example, > > 2.323 => 0100000010001110000 (something like this) but in 32-bit precision. I > hope know you will understand my problem. Thanks
Do you mean something like this?
>> dec2bin(typecast(single(2.323),'uint32'),32) ans = 01000000000101001010110000001000
-- Doug Schwarz dmschwarz&ieee,org Make obvious changes to get real email address.