Thread Links Date Links
Thread Prev Thread Next Thread Index Date Prev Date Next Date Index

Re: ... replacement for 14.4 and C6.2 (interchange encodings)



On 2014-06-26 14:00:07 +0100, John Pryce wrote:
> On 2014 Jun 26, at 12:58, Vincent Lefevre wrote:
> > Here you could say "the range of a signed octet, namely 0..127", which
> > is a notion more general than C.
> 
> Actually the range of a signed octet is -128..127 ...

Yes, but I supposed that the text considered non-negative values only.
In C, the range of a char isn't 0..127 either!

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)