> Date: Fri, 25 Mar 2005 00:43:52 -0700
> From: James Giles <[log in to unmask]>
> robin wrote:
> > Indeed, PL/I uses 1 for true and 0 for false (stored as a single bit).
>
> How do you know?
Because it's defined that way.
> A single bit *signed* integer can hold the values
> -1 and 0.
Only in twos complement and signed magnitude notations.
In Ones complement notation, they both represent zero.
> If all you've got is a single bit, that's also the sign bit.
A bit in PL/I is unsigned. That's the definition of a bit.
> --
> J. Giles
|