Boost logo

Boost-Build :

From: rick68 (rick68_at_[hidden])
Date: 2008-05-30 05:33:43


Hi all,

I tested rule numbers.log10 with my test code:

===========================================================
modules.import numbers ;

ECHO [ numbers.log10 1 ] ;
ECHO [ numbers.log10 12 ] ;
ECHO [ numbers.log10 123 ] ;
ECHO [ numbers.log10 1234 ] ;
ECHO [ numbers.log10 12345 ] ;
ECHO [ numbers.log10 123456 ] ;
ECHO [ numbers.log10 1234567 ] ;
ECHO [ numbers.log10 12345678 ] ;
ECHO [ numbers.log10 123456789 ] ;
ECHO [ numbers.log10 1234567890 ] ;
ECHO [ numbers.log10 12345678900 ] ;

EXIT ;
===========================================================

and I got these result:
===========================================================
1
2
3
4
5
6
7
8
9
11
===========================================================

but "[ numbers.log10 12345678900 ]" returned 11 not 10.





Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk