- Const correctness mpi_get_bit()
- Documentation mpi_lsb(), mpi_msb()
This commit is contained in:
parent
05ef835b6a
commit
6b906e5095
3 changed files with 12 additions and 4 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue