----- Original Message ----- From: "Torsten Schoenfeld" <[EMAIL PROTECTED]> To: <perl-xs@perl.org> Sent: Wednesday, May 25, 2005 7:00 AM Subject: Converting long longs to SVs
> Aloha, > > is there any way to reliably convert long longs (64bit integers) to SVs > (and back) on 32bit platforms without losing information, and without > compiling with -Duse64bitint? Both, IV and NV don't seem to provide > enough room to store large values. > Use sprintf() to convert the long long to a char*, then convert the char* to an SV*. Cheers, Rob