I've just upgraded from 1.13.3 to 1.14.1, and there seem to be some 
unpleasant numerical features.  First the serious breakage:

1.13.3:
        $ echo $((0x80000000))
        2147483648

1.14.1:
        $ echo $((0x80000000))
        2147483647

Oops!  This is pretty worrying, actually.  I'll dig and try and figure it 
out, but I think a heads up is in order.  Hopefully somebody who's been 
working on the shell recently can point me where too look.


Next an oddity, this on both versions:

        $ printf %x -2147483648
        0sh: -2147483648: invalid number

That's a shame.  But what about this one:

        $ printf %x -2147483647
        0sh: -2147483647: invalid number

Hmmmmm.
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to