POV-Ray : Newsgroups : povray.off-topic : update, updates, updates : Re: update, updates, updates Server Time
29 Jul 2024 02:27:59 EDT (-0400)
  Re: update, updates, updates  
From: clipka
Date: 18 Jan 2013 13:25:13
Message: <50f99389@news.povray.org>
Am 18.01.2013 18:47, schrieb Orchid Win7 v1:
>>> In 2's complement representation MAX_INT+1 has the exact same bits in
>>> both signed and unsigned forms. How do you get outside the array with
>>> that value?
>>
>> That's wrong. In 2's complement representation, MAX_INT+1 has NO bit
>> representation at all. What you get instead if you interpret the
>> respective unsigned representation as signed is MIN_INT.
>
> Erm... don't you mean -1?

No. That would be MAX_UINT.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.