<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div><br></div><div><div>On 21 apr 2011, at 17.02, Joe Armstrong wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Has anybody some Erlang code to convert an erlang float<br>to an ieee-754 32 and 64 bit hex representation?<br><br>For 64-bit <<F/float>> appears to do the job, what about 32 bit?<br><br></blockquote><div><<1.0:32/float>>.  </div><div><<63,128,0,0>></div><div>3> <<1.0:64/float>>.  </div><div><<63,240,0,0,0,0,0,0>></div><div><br></div><div>/Tony</div><blockquote type="cite">/Joe<br><br>
_______________________________________________<br>erlang-questions mailing list<br><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>http://erlang.org/mailman/listinfo/erlang-questions<br></blockquote></div><br><div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px; "><i>"Have run Make so many times I dunno what's installed anymore"</i></span></div>
</div>
<br></body></html>