|
From: | amartinez |
Subject: | Strange bitshift behavior? |
Date: | Tue, 22 May 2007 14:23:27 +0200 (CEST) |
User-agent: | SquirrelMail/1.4.8-2.fc6 |
Hello, If you do this in C: printf ("%i\n", -100 >> 4); it prints -7 In Octave and Matlab bitshift (-100, -4) brings -6 !!! What's the different? I have a Pentium 4 running Debian (SID). -- Antonio
[Prev in Thread] | Current Thread | [Next in Thread] |