<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 19 December 2012 08:55, Walter Bright <span dir="ltr"><<a href="mailto:newshound2@digitalmars.com" target="_blank">newshound2@digitalmars.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 12/19/2012 12:47 AM, Alex Rønne Petersen wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 19-12-2012 08:35, Jacob Carlborg wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 2012-12-19 08:30, Walter Bright wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<a href="https://github.com/D-Programming-Language/phobos/pull/1018/files" target="_blank">https://github.com/D-<u></u>Programming-Language/phobos/<u></u>pull/1018/files</a><br>
</blockquote>
<br>
Cool, Walter does a pull request. Should this be put in the review queue<br>
or is this a small enough change to be added anyway?<br>
<br>
</blockquote>
<br>
Seems a bit overkill to throw it in the review queue, but I don't know how<br>
rigorous we want to be about that.<br>
</blockquote>
<br></div>
Probably the main point of this module is to demonstrate how to do new arithmetic types like this without needing compiler support. It also shows how to do IEEE floating point rounding correctly, which is not obvious and not trivial.<br>

<br clear="all"></blockquote></div><br></div><div class="gmail_extra">How difficult would you think it would be to scale down (or up) this library type so it can be an emulated IEEE type of any size? (The whole shebang eg: quarter, half, single, double, quad, double-quad, 80bit and 96-bit).   Just interested as I think that a module which implements an IEEE floating point type that produces constant results cross-platform would be better than a dedicated module just for half float types.<br>
</div><div class="gmail_extra"><br><br>-- <br>Iain Buclaw<br><br>*(p < e ? p++ : p) = (c & 0x0f) + '0';
</div></div>