Newsgroups: comp.lang.c Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: BUG - unsigned long cast to double Message-ID: <1988Sep7.193817.4594@utzoo.uucp> Organization: U of Toronto Zoology References: <1239500001@osiris.cso.uiuc.edu> <2590@ncr-sd.SanDiego.NCR.COM> <13315@mimsy.UUCP> Date: Wed, 7 Sep 88 19:38:17 GMT In article <13315@mimsy.UUCP> chris@mimsy.UUCP (Chris Torek) writes: >I believe the One True C Compiler (dmr's '11 compiler) :-) did not have >unsigned variants. Well, originally of course it didn't have "unsigned" at all! Unsigned long never did exist in the DMR compiler. Unsigned short sort of existed -- "short" essentially turned into "int" very early, as a quick way of hacking "short" in. Unsigned char wasn't present for a long time, but the System V version did have it -- I don't know whether that was Dennis's work or somebody else's. -- Intel CPUs are not defective, | Henry Spencer at U of Toronto Zoology they just act that way. | uunet!attcan!utzoo!henry henry@zoo.toronto.edu