- Const correctness mpi_get_bit()

- Documentation mpi_lsb(), mpi_msb()
This commit is contained in:
Paul Bakker 2012-05-08 12:01:43 +00:00
parent 05ef835b6a
commit 6b906e5095
3 changed files with 12 additions and 4 deletions

View file

@ -173,7 +173,7 @@ cleanup:
/*
* Get a specific bit
*/
int mpi_get_bit( mpi *X, size_t pos )
int mpi_get_bit( const mpi *X, size_t pos )
{
if( X->n * biL <= pos )
return( 0 );