research/bit_copy.c
void printIntBin( long i )
{
	size_t n,x;

	printf( "INT: " );
	for (n=sizeof( long )*NB; n>0; n-=NB)
	{
		for (x=NB; x>0; x--)
			printf( "%d", ((i >> (n-NB+x-1)) & 0x01) ? 1 : 0 );
		printf( " " );
	}
	printf( "\n" );
}
// Prints a binary representation of a number.
Prints a binary representation of a number.
Prints a binary representation of a number .
void printIntBin( long i )
{
	size_t n,x;
	printf( "INT: " );
	for (n=sizeof( long )*NB; n>0; n-=NB)
	{
		for (x=NB; x>0; x--)
			printf( "%d", ((i >> (n-NB+x-1)) & 0x01) ? 1 : 0 );
		printf( " " );
	}
	printf( "\n" );
}
void printIntBin ( long i ) { size_t n , x ; printf ( " " ) ; for ( n = sizeof ( long ) * NB ; n > 0 ; n -= NB ) { for ( x = NB ; x > 0 ; x -- ) printf ( " " , ( ( i >> ( n - NB + x - 1 ) ) & 0x01 ) ? 1 : 0 ) ; printf ( " " ) ; } printf ( " \n " ) ; }
Prints a binary representation of a number.
Prints a binary representation of a number .