<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 19 December 2012 11:30, tn <span dir="ltr"><<a href="mailto:no@email.com" target="_blank">no@email.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 Wednesday, 19 December 2012 at 10:13:56 UTC, Iain Buclaw wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
On 19 December 2012 08:55, Walter Bright <<a href="mailto:newshound2@digitalmars.com" target="_blank">newshound2@digitalmars.com</a>> wrote:<br>
<br>
</div><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>
<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
On 19-12-2012 08:35, Jacob Carlborg wrote:<br>
<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
On 2012-12-19 08:30, Walter Bright wrote:<br>
<br>
</div><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><<a href="https://github.com/D-Programming-Language/phobos/pull/1018/files" target="_blank">https://<u></u>github.com/D-Programming-<u></u>Language/phobos/pull/1018/<u></u>files</a>><br>

<br>
</blockquote><div class="im">
<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>
<br>
</div></blockquote><div class="im">
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>
<br>
</div></blockquote><div class="im">
<br>
Probably the main point of this module is to demonstrate how to do new<br>
arithmetic types like this without needing compiler support. It also shows<br>
how to do IEEE floating point rounding correctly, which is not obvious and<br>
not trivial.<br>
<br>
<br>
</div></blockquote><div class="im">
How difficult would you think it would be to scale down (or up) this<br>
library type so it can be an emulated IEEE type of any size? (The whole<br>
shebang eg: quarter, half, single, double, quad, double-quad, 80bit and<br>
96-bit).   Just interested as I think that a module which implements an<br>
IEEE floating point type that produces constant results cross-platform<br>
would be better than a dedicated module just for half float types.<br>
</div></blockquote>
<br>
What is the difference between std.numeric.CustomFloat and this?<br>
</blockquote></div><br></div><div class="gmail_extra">With this, there's a choice of rounding modes,  casting between float and integral types,  and the fact that not many people know about it?<br clear="all"></div><div class="gmail_extra">
<br>-- <br>Iain Buclaw<br><br>*(p < e ? p++ : p) = (c & 0x0f) + '0';
</div></div>