POV-Ray : Newsgroups : povray.off-topic : Mac Plus vs AMD Dual Core : Re: Mac Plus vs AMD Dual Core Server Time
12 Oct 2024 01:16:14 EDT (-0400)
  Re: Mac Plus vs AMD Dual Core  
From: Fredrik Eriksson
Date: 26 Oct 2007 13:00:46
Message: <op.t0tdjkwjcs6ysw@e6600>
On Fri, 26 Oct 2007 12:08:57 +0200, Warp <war### [at] tagpovrayorg> wrote:
> Darren New <dne### [at] sanrrcom> wrote:
>> The C declaration of
>>    unsigned int X;
>> does not allocate an integer variable.
>
>> You wouldn't need signed/unsigned conversion rules if you were working
>> with integers instead of int's.
>
>   I may be unusually dense here, but I still can't understand.


I am fairly certain he simply means that the range of 'int' in C++ is only  
a subset of Z (the set of integers). Similarly, the range of 'unsigned  
int' is only a subset of N. The data types in C++ do not model Z or N,  
even though they are superficially similar in some respects.



-- 
FE


Post a reply to this message

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