RE: printf() on decimals
- Posted by eugtk at yahoo.com
Jul 01, 2003
--- Matt Lewis <matthewwalkerlewis at yahoo.com> wrote:
> Try this
> ? 9999999999999990 - 9999999999999990
> ? 9999999999999991 - 9999999999999990
> ? 9999999999999992 - 9999999999999990
> ? 9999999999999993 - 9999999999999990
> ? 9999999999999994 - 9999999999999990
> ? 9999999999999995 - 9999999999999990
> ? 9999999999999996 - 9999999999999990
> ? 9999999999999997 - 9999999999999990
> ? 9999999999999998 - 9999999999999990
>
> On W2K, I get:
> Result Correct
> 0 0
> 2 1
> 2 2
> 2 3
> 4 4
> 6 5
> 6 6
> 6 7
> 8 8
>
> What does Linux report?
Exactly the same:
0
2
2
2
4
6
6
6
8
Press Enter...
|
Not Categorized, Please Help
|
|