home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!usc!howland.reston.ans.net!wupost!eclnews!wucs1!amc
- From: amc@wucs1.wustl.edu (Adam Costello)
- Subject: Re: Bug in SAS/C V6.1?
- Message-ID: <1992Dec15.103850.21786@wuecl.wustl.edu>
- Sender: usenet@wuecl.wustl.edu (News Administrator)
- Nntp-Posting-Host: wucs1
- Organization: Washington University, St. Louis MO
- References: <S37732V.92Dec11104414@lk-hp-12.hut.fi> <Bz3nvr.82D@unx.sas.com> <1992Dec15.003553.23198@oracle.us.oracle.com>
- Distribution: comp
- Date: Tue, 15 Dec 1992 10:38:50 GMT
- Lines: 12
-
- In article <1992Dec15.003553.23198@oracle.us.oracle.com> dnavas@oracle.uucp (David Navas) writes:
- >
- >Really, ~0 is NOT the same thing as -1. Not -all- computers in existance
- >are two's complement, you know -- and the symbols mean something different
- >too. Had I meant -1, I'd say -1, had I mean ~0, I'll say ~0. Having to
- >cast ~0 back to an unsigned state is, well, icky....
- >
- >Would you at least be kind enough to make ~0x0 be unsigned?
-
- How about ~0u ? I think that should be the same as
- (unsigned int) ~0 to any ANSI C compiler.
- AMC
-