On Fri, Dec 08, 2000 at 10:54:52PM +0000, Nicholas Clark wrote: > arm, glibc2.1: > d -9223372036854779904 > l -9223372036854775808 > min -9223372036854775808 > max 9223372036854775807 > > d < (double) min 1 > l < max 1 wrong paste. fool. d -9223372036854779904 l 9223372036854771712 min -9223372036854775808 max 9223372036854775807 d < (double) min 1 l < max 1 Without the correct past you can't see the problem. I've got a double smaller than the smallest negative integer, but it casts to a positive integer. Below is what perl expects: > x86, FreeBSD's C library > d -9223372036854779904 > l -9223372036854775808 > min -9223372036854775808 > max 9223372036854775807 > > d < (double) min 1 > l < max 1 Nicholas ClarkThread Previous | Thread Next