[GNC] Account remains red after void that would put it in black

Jean-David Beyer jeandavid8 at verizon.net
Wed May 1 22:54:19 EDT 2019


On 5/1/19 9:34 PM, D via gnucash-user wrote:
> I never knew that zero was negative number!

In IBM computers of the 704, 709, 7090, 7094 line, the numbers were in
sign-magnitude form, different from the two's complement form in common
use today. So there were both Positive zero ane Negative zero on the
machine, and there were different test instructions depending on what
you wanted to do

TZE Transfer (jump, branch) on zero
TNZ Transfer on no zero
TPL Transfer on plus
TMI Transfer on minus
CAS compares two numbers and takes the next instruction if smaller, the
instruction after that if equal, and the one after that if larger.
Positive zero was considered greater than negative zero for this
instruction.

-- 
  .~.  Jean-David Beyer
  /V\  PGP-Key:166D840A 0C610C8B
 /( )\ Shrewsbury, New Jersey
 ^^-^^ 22:25:01 up 9 days, 12:26, 2 users, load average: 4.39, 4.46, 4.49


More information about the gnucash-user mailing list