What's "or-ed" means? (from --debug, man

Walt Mankowski waltman@pobox.com
Wed Oct 3 16:46:01 2001


--WYTEVAkct0FjGQmd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Oct 03, 2001 at 02:09:42PM +0200, Werner Koch wrote:

> On Wed, 3 Oct 2001 14:07:33 +0800, eelchen said:
>=20
> > Per my poor English that I have a question after read the man page abou=
t --debug. Could someone kindly explain what is "or-ed" means?
>=20
> An bitwise adjunction. To express this in C you do a
>=20
> c =3D a | b
>=20
> So if you have the flags 0x01 and 0x02 the result is 0x03.
This is also called a "logical or" in English since a bit in c in set if either the corresponding bit in a or b is set. I'd probably spell the past tense "or'd", but as far as I know there isn't a standard spelling. Walt --WYTEVAkct0FjGQmd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE7uyQ2XfGeK2entYQRAgciAJoDieQWR2WcNRPsOfiLNd3jrtwRGQCgmpPQ gbskRgj3RuIScIZKcvK8NRA= =BZXG -----END PGP SIGNATURE----- --WYTEVAkct0FjGQmd--