> On June 29, 2016 at 3:06 AM Edward Bartolo <[email protected]> wrote:
> Pg 78. "... our version of itoa does not handle the largest negative > number, that is, the value of n equal to -(2^(wordsize - 1))". > > Do these authors understand what negative numbers are?! Describing > -(2^(wordsize - 1)) as the LARGEST negative number clearly shows they > have no idea! > > For the set of integers, as is the case above, the largest negative > number is -1. The negative number being mentioned is the SMALLEST in > the set that can be represented by wordsize. > No, in the 8 bit world, the range is (-128, 127) In the 16 bit world, the range is (-32768, 32767) They are talking about numbers, so the largest such number is the most negative. You might want to think about what is being said before you make a claim that something is idiotic. Peter Olson _______________________________________________ Dng mailing list [email protected] https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
