BUG - unsigned long cast to double

Henry Spencer henry at utzoo.uucp
Thu Sep 8 05:38:17 AEST 1988


In article <13315 at mimsy.UUCP> chris at mimsy.UUCP (Chris Torek) writes:
>I believe the One True C Compiler (dmr's '11 compiler) :-) did not have
>unsigned <char, short, long> 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 at zoo.toronto.edu



More information about the Comp.lang.c mailing list