<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Sep 1, 2010, at 3:29 PM, Sean Kelly wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On Sep 1, 2010, at 12:58 PM, Don Clugston wrote:<font class="Apple-style-span" color="#540000"><font class="Apple-style-span" color="#144FAE"><br></font></font><blockquote type="cite"><br></blockquote><blockquote type="cite">The mangled value is just the %A representation of the number.<br></blockquote><blockquote type="cite">ulong u = 0x9A522B6AE7D566CFL;<br></blockquote><blockquote type="cite">writefln("%A &nbsp;%X", 1234.5678L, (u&lt;&lt;1));<br></blockquote><blockquote type="cite">---prints---<br></blockquote><blockquote type="cite">0X1.34A456D5CFAACD9EP+10 &nbsp;34A456D5CFAACD9E<br></blockquote><blockquote type="cite">Note that the exponent is decimal, not hex.<br></blockquote><br>Why the left shift to get the original %A representation? &nbsp;From the code Walter attached, I wouldn't expect that step.<br></div></blockquote></div><br><div>Forget I said anything. &nbsp;The %LA output of 1234.5678 is "0X9.A522B6AE7D566CFP+7" &nbsp;I should have checked this first.</div></body></html>