At 8:04 PM +0100 5/17/02, Nicholas Clark wrote:
>On Thu, May 16, 2002 at 08:37:32PM -0400, Dan Sugalski wrote:
>>  Pssst. Brent. Don't tell anyone, but ~0 *is* -1... :)
>
>$ perl -le 'print ~0'
>4294967295
>$ perl -le 'print -1'
>-1
>
>What language were we talking about? :-)

C, of course. Perl's floating point and integer semantics are another 
matter entirely. Pity that Doing The Right Thing is such a pain. :(
-- 
                                         Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                       teddy bears get drunk

Reply via email to