Cool!
just test it so that you make sure you don't loose out on the conversion.
Maybe the following C program will tell you the type sizes provided you manage to compile it:
#include <stdio.h>
#include <libperfstat.h>
int main(void){
printf("double: %d bytes\n", sizeof(double));
printf("u_longlong_t: %d bytes\n", sizeof(u_longlong_t));
printf("unsigned long long: %d bytes\n", sizeof(unsigned long
+long));
return(0);
}
Note: others here who do know the internals of Perl may have a better solution, if your application is critical.
bw, bliako |