Unexpected behaviour of math.floor, round and int functions (rounding)

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Nov 21 20:02:01 EST 2021


On 22/11/21 4:58 am, Grant Edwards wrote:
> Yep, IIRC, it was a 4 bit processor because 4 bits is what it takes to
> represent one decimal digit.

That was the Saturn, first used in the HP-71B. The original
architecture (known as the "Nut")was weirder than that. It operated
serially on 56 bit words (14 BCD digits), and the instructions
had options for operating on various fields of a floating-point
number (mantissa, exponent, sign, etc.)

-- 
Greg


More information about the Python-list mailing list