🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #2030

Re: What type is yielded by bitwise & | ^

#2030
From: Doug Gwyn
Date: Mon, 03 Dec 1990 14:30
6 lines
694 bytes
In article <2881@lupine.NCD.COM> rfg@lupine.ncd.com (Ron Guilmette) writes:
>In the case of bitwise-and, bitwise-ior, and bitwise-xor however I can't
>see where the result type is defined.

The standard says that the usual arithmetic conversions are applied.
Section 3.2.1.5 explains what this means.
Technical Details
Message-ID: <14642@smoke.brl.mil>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!ucsd!ames!haven!adm!smoke!gwyn
References: <2881@lupine.NCD.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!ucsd!ames!haven!adm!smoke!gwyn
From: gwyn@smoke.brl.mil (Doug Gwyn)
Newsgroups: comp.std.c
Subject: Re: What type is yielded by bitwise & | ^
Message-ID: <14642@smoke.brl.mil>
Date: 3 Dec 90 14:30:41 GMT
References: <2881@lupine.NCD.COM>
Organization: U.S. Army Ballistic Research Laboratory, APG, MD.
Lines: 6