7 int64_to_binary_string(char *s
, guint64 n
){
8 /* s should be a *65* byte array */
10 guint64 bit
= 1ULL << 63;
11 for (i
= 0; i
< 64; i
++){
12 s
[i
] = (n
& (1ULL << (63 - i
))) ? '*' : '.';
13 //s[i] = ((n & bit)) ? '*' : '.';
26 for (i
= 0; i
< 64; i
++){
27 int64_to_binary_string(s
, x
);
28 printf("%s, %llx, %16llx\n", s
, x
, x
);