Fix a bug of Windows binary
This commit is contained in:
@@ -124,7 +124,7 @@ size_t bigint<n>::num_bits() const
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return ((i+1) * GMP_NUMB_BITS) - __builtin_clzl(x);
|
return ((i+1) * GMP_NUMB_BITS) - __builtin_clzll(x);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user