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> Rick Yang<br><br><div class="gmail_quote">On Sat, May 31, 2008 at 7:02 PM, Jurko Gospodneti� <<a href="mailto:jurko.gospodnetic@docte.hr">jurko.gospodnetic@docte.hr</a>> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hi rick68.<br> <div class="Ih2E3d"><br> > ECHO [ numbers.log10 1 ] ;<br> > ECHO [ numbers.log10 12 ] ;<br> > ECHO [ numbers.log10 123 ] ;<br> > ECHO [ numbers.log10 1234 ] ;<br> > ECHO [ numbers.log10 12345 ] ;<br> > ECHO [ numbers.log10 123456 ] ;<br> > ECHO [ numbers.log10 1234567 ] ;<br> > ECHO [ numbers.log10 12345678 ] ;<br> > ECHO [ numbers.log10 123456789 ] ;<br> > ECHO [ numbers.log10 1234567890 ] ;<br> > ECHO [ numbers.log10 12345678900 ] ;<br> ><br> </div><div class="Ih2E3d">> and I got these result:<br> > 1<br> > 2<br> > 3<br> > 4<br> > 5<br> > 6<br> > 7<br> > 8<br> > 9<br> > 11<br> <br> </div> Actually, internal numbers.jam tests contain the following code:<br> <br> assert.result 0 : log10 1 ;<br> assert.result 0 : log10 9 ;<br> assert.result 1 : log10 10 ;<br> assert.result 1 : log10 99 ;<br> assert.result 2 : log10 100 ;<br> assert.result 2 : log10 101 ;<br> assert.result 2 : log10 125 ;<br> assert.result 2 : log10 999 ;<br> assert.result 3 : log10 1000 ;<br> assert.result 10 : log10 12345678901 ;<br> <br> 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 'bjam<br> --debug-module=numbers'.<br> <br> 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> I remember there being a bug with numbers.log10, but it got fixed<br> recently. See change-set:<br> <br> <a href="http://svn.boost.org/trac/boost/changeset/45100" target="_blank">http://svn.boost.org/trac/boost/changeset/45100</a><br> <br> It also includes the exact change you are proposing. :-)<br> <br> Hope this helps.<br> <br> Best regards,<br> Jurko Gospodneti�<br> <br> <br> P.S.<br> <br> 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 & 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>