zefram hzyozefyshorg wes james wrote python get perl probably rounding decimal output try perl printf 60fn _ foreach 01 1110 101100 321320 801800 youll see five different values 01 try equivalent python expect youll get similar results insight try use datafloat qwfloat_hex cpan print float_hex_ n foreach 01 1110 101100 321320 801800 want exact arithmetic use mathbigrat pay speed zefram thu 07 aug 2008 202437 0000 perl 47285 rounding error subtraction