Hi Jurko Gospodneti�,<br><br>I use Boost.Build that in boost_1_35_0, so maybe I have got to use SVN.<br>I saw the change-set after commited it. :-p<br>
<br>Thank you for your reply.<br><br>Sincerely,<br>&nbsp; Rick Yang<br><br><div class="gmail_quote">On Sat, May 31, 2008 at 7:02 PM, Jurko Gospodneti� &lt;<a href="mailto:jurko.gospodnetic@docte.hr">jurko.gospodnetic@docte.hr</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> &nbsp; Hi rick68.<br>
<div class="Ih2E3d"><br>
&gt; ECHO [ numbers.log10 1 ] ;<br>
&gt; ECHO [ numbers.log10 12 ] ;<br>
&gt; ECHO [ numbers.log10 123 ] ;<br>
&gt; ECHO [ numbers.log10 1234 ] ;<br>
&gt; ECHO [ numbers.log10 12345 ] ;<br>
&gt; ECHO [ numbers.log10 123456 ] ;<br>
&gt; ECHO [ numbers.log10 1234567 ] ;<br>
&gt; ECHO [ numbers.log10 12345678 ] ;<br>
&gt; ECHO [ numbers.log10 123456789 ] ;<br>
&gt; ECHO [ numbers.log10 1234567890 ] ;<br>
&gt; ECHO [ numbers.log10 12345678900 ] ;<br>
&gt;<br>
</div><div class="Ih2E3d">&gt; and I got these result:<br>
&gt; 1<br>
&gt; 2<br>
&gt; 3<br>
&gt; 4<br>
&gt; 5<br>
&gt; 6<br>
&gt; 7<br>
&gt; 8<br>
&gt; 9<br>
&gt; 11<br>
<br>
</div> &nbsp; Actually, internal numbers.jam tests contain the following code:<br>
<br>
 &nbsp; &nbsp; assert.result 0 : log10 1 ;<br>
 &nbsp; &nbsp; assert.result 0 : log10 9 ;<br>
 &nbsp; &nbsp; assert.result 1 : log10 10 ;<br>
 &nbsp; &nbsp; assert.result 1 : log10 99 ;<br>
 &nbsp; &nbsp; assert.result 2 : log10 100 ;<br>
 &nbsp; &nbsp; assert.result 2 : log10 101 ;<br>
 &nbsp; &nbsp; assert.result 2 : log10 125 ;<br>
 &nbsp; &nbsp; assert.result 2 : log10 999 ;<br>
 &nbsp; &nbsp; assert.result 3 : log10 1000 ;<br>
 &nbsp; &nbsp; assert.result 10 : log10 12345678901 ;<br>
<br>
 &nbsp; and they all pass using the current trunk version so I do not really<br>
know which version you were using. To run them you can use &#39;bjam<br>
--debug-module=numbers&#39;.<br>
<br>
 &nbsp; Also, running your code on that same version I get the following<br>
results: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 which all seem correct.<br>
<br>
 &nbsp; I remember there being a bug with numbers.log10, but it got fixed<br>
recently. See change-set:<br>
<br>
 &nbsp; <a href="http://svn.boost.org/trac/boost/changeset/45100" target="_blank">http://svn.boost.org/trac/boost/changeset/45100</a><br>
<br>
 &nbsp; It also includes the exact change you are proposing. :-)<br>
<br>
 &nbsp; Hope this helps.<br>
<br>
 &nbsp; Best regards,<br>
 &nbsp; &nbsp; Jurko Gospodneti�<br>
<br>
<br>
P.S.<br>
<br>
 &nbsp; Usually it is easier to process your patch if you use the SVN patch<br>
format which also includes information on the exact file revisions they<br>
are comparing.<br>
<br>
_______________________________________________<br>
Unsubscribe &amp; other changes: <a href="http://lists.boost.org/mailman/listinfo.cgi/boost-build" target="_blank">http://lists.boost.org/mailman/listinfo.cgi/boost-build</a><br>
</blockquote></div><br>