Why NULL is 0

William E. Davidsen Jr davidsen at steinmetz.steinmetz.ge.com
Wed Apr 6 23:43:47 AEST 1988


In article <1323 at PT.CS.CMU.EDU> edw at IUS1.CS.CMU.EDU (Eddie Wyatt) writes:

|   I do believe IEEE and Vax's version of float is a bit pattern
| consisting of all zeros.  So what are these implementations that don't
| use zero bit pattern?

  Honeywell 600 and DPS series for sure (0.0 = 0400000000), I believe
some IBM minis, and some Data General. Like "pointer same as int," it
works on many machines but assumes a hardware dependency which may be
avoided by careful typing.
-- 
	bill davidsen		(wedu at ge-crd.arpa)
  {uunet | philabs | seismo}!steinmetz!crdos1!davidsen
"Stupidity, like virtue, is its own reward" -me



More information about the Comp.lang.c mailing list