Thu, 08 Aug 2002 19:28:18 +1000 (EST), Manuel M T Chakravarty <[EMAIL PROTECTED]> 
pisze:

> ANSI C guarantees that char is 1 byte (more precisely that
> "sizeof (char)" == 1).

It says that sizeof (char) == 1 but doesn't say that it means 8 bits.
sizeof is measured in chars, whatever it is. But limits for values
of char imply that it has at least 8 bits.

Perhaps we can assume some widely true facts even if ANSI C doesn't
guarantee that if it makes life easier. For example that a C type
corresponding to Int32 exists at all, and that different pointer
types have the same representation - we already rely on that, don't we?

-- 
  __("<      Marcin Kowalczyk
  \__/     [EMAIL PROTECTED]
   ^^    http://qrnik.knm.org.pl/~qrczak/

_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to