George Russell <[EMAIL PROTECTED]> wrote, > Manual wrote > [snip] > > As I understand it, in ANSI C, the only freedom that an > > implementation has in choosing a concrete representation for > > "char" is to decide whether it is signed or unsigned. In > > any case, it is going to be an 8 bit entity. > [snip] > > This is false. Look at section 5.2.4.2.1 > http://std.dkuug.dk/JTC1/SC22/WG14/www/docs/n843.htm > This says only "Their implementation-defined values shall be > equal or greater in magnitude (absolute value) to those > shown, with the same sign." Thus CHAR_BIT must be at least 8. > It may be greater than 8.
Ok, I am convinced :-) Manuel _______________________________________________ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell
