Re: Hexadecimal representation of a negative number

2011-10-19 Thread Brian Mokrzycki
Well I figured this out that it was likely caused by compiling guile with llvm-gcc (which is depreciated). Please see more details on this issue in the CGEN mailing list. Old Nabble - Sourceware - cgen list - 64-bit instruction mask emitting as signed hex value On Oct 4, 2011, at 9:48 PM, B

Re: Hexadecimal representation of a negative number

2011-10-05 Thread Ludovic Courtès
Hi, Brian Mokrzycki skribis: > guile> (number->string #x 16) > > Resolves to > > "-1" in Guile 1.8.7 > "" in Guile 1.6.4 I think this is a bug in 1.8, which 2.0 doesn’t have, if using it is an option for you. Would you like to try to find the source of the bug i

Hexadecimal representation of a negative number

2011-10-04 Thread Brian Mokrzycki
Hi all, I'm running into a problem between Guile 1.6.4 and Guile 1.8.7. Basically I'm manipulating bit masks in Guile and need to generate a hexadecimal string representation of an integer. Unfortutely this worked just fine in Guile 1.6.4 but not so well in Guile 1.8.7. The offending