:: Re: [DNG] Studying C as told. (For …
Etusivu
Poista viesti
Vastaa
Lähettäjä: Edward Bartolo
Päiväys:  
Vastaanottaja: KatolaZ
Kopio: dng
Aihe: Re: [DNG] Studying C as told. (For help)
Hi,

You know pretty well that I am in the right about this. Yes, it is
incorrect to state it is the largest negative number without
explicitly stating that one is talking about its modulus.



On 29/06/2016, KatolaZ <katolaz@???> wrote:
> On Wed, Jun 29, 2016 at 09:06:22AM +0200, Edward Bartolo wrote:
>> Hi,
>>
>> 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.
>>
>
> The mentioned number is the largest in modulus, which is the one that
> requires the largest number of bits to be represented. So I can't
> understand your surprise...
>
> HND
>
> KatolaZ
>
> --
> [ ~.,_  Enzo Nicosia aka KatolaZ - GLUGCT -- Freaknet Medialab  ]
> [     "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
> [       @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
> [     @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ]
> [ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

>