setting BI operands
Frank Ch. Eigler
fche@redhat.com
Fri Nov 3 04:03:00 GMT 2000
Hi -
On Fri, Nov 03, 2000 at 02:12:46PM +1100, Ben Elliston wrote:
: A port I've worked on had frequently did this:
: (set cbit (if QI newc 1 0))
: It should be possible to just use:
: (set cbit newc)
: and for newc to be coerced to BI, based on the convention you've mentioned.
Right, but does this not already work this way? Does the negativeness
of newc have anything to do with the truthness of cbit?
(I do see a potential problem when a BI value is used an an rvalue, being
cast to an integral type.)
- FChE
--
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE6Aql4VZbdDOm/ZT0RAtW+AJ9puFO7lgA2bCYIBDGTApFpSFyFCwCfTXwF
vbedzJ6i1N4QlY14xLl1AFU=
=3QGq
-----END PGP SIGNATURE-----
More information about the Cgen
mailing list