Thanks. One quick comment, though. Are you sure this is right? I found this in D1 std.intrinsic and it seems inconsistent:<br><br> int bsf(uint v);<br><span class="kt"> int</span> <span class="n">bsr</span><span class="p">(</span><span class="n">size_t</span> <span class="n">v</span><span class="p">);</span><br>
<br><div class="gmail_quote">On Tue, Nov 9, 2010 at 9:51 PM, Walter Bright <span dir="ltr"><<a href="mailto:walter@digitalmars.com">walter@digitalmars.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
See std.intrinsic for Phobos1.<div class="im"><br>
<br>
<br>
David Simcha wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Will all the functions in std.intrinsic that now take uint take size_t, i.e. take ulong on 64? In other words, are they all designed to operate on machine words?<br>
<br>
Also, for functions that take pointers, where implicit conversion of uint -> ulong is not possible, will there be both a uint and a ulong version?<br>
<br>
</blockquote></div>
_______________________________________________<br>
phobos mailing list<br>
<a href="mailto:phobos@puremagic.com" target="_blank">phobos@puremagic.com</a><br>
<a href="http://lists.puremagic.com/mailman/listinfo/phobos" target="_blank">http://lists.puremagic.com/mailman/listinfo/phobos</a><br>
</blockquote></div><br>