Lisp HUG Maillist Archive

Convert integer to signed 32bits representation

Hi,

   Probably a simple question.

   I have the results of a crc32 calculation presented to me as an
   'integer' type. The result in this case is 2581689048. I want to
   convert this result to a signed integer of 32-bit representation,
   so it overflows and becomes a negative value. How is that done?
   

-
Thanks in advance,
 Steven Manschot
www.interstudio.nl

Unable to render article 1778 because of ":DEFAULT stream decoding error on #<SB-SYS:FD-STREAM for \"socket 192.168.43.216:64838, peer: 116.202.254.214:119\" {100347CAB3}>: the octet sequence #(246 115 99 104) cannot be decoded." error

Updated at: 2020-12-10 08:58 UTC