silc_mp_sizeinbase

SYNOPSIS

    size_t silc_mp_sizeinbase(SilcMPInt *mp, int base);

DESCRIPTION

Return the size of the integer in base `base'.

NOTES

For any other base but 2 this function usually returns only an approximated size in the base. It is however guaranteed that the the returned size is always at least the size of the integer or larger.

For base 2 this returns the exact bit-size of the integer.