On 2 Nov 2009, at 10:21, Raimon Fernandez wrote:

byte 1: 255 &HFF
byte 2: 255 &HFF
byte 3: 255 &HFF
byte 4: 255 &HFF
-----------------
1020 decimal or

Thou shalt not sum the byte-values of a 32-bit number!

&HFFFFFFFF 4294967295

but never -1


That is -1.

Alban Hertroys

--
Screwing up is the best way to attach something to the ceiling.


!DSPAM:737,4aeeb14511075663045293!



--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to