![]() |
![]()
| ![]() |
![]()
NAMExt_digits() - Compute the number of xt_digits in an integer in any base LIBRARY#include <xtend/math.h> -lxtend SYNOPSISint xt_digits(long val, unsigned base) ARGUMENTSval: The number for which xt_digits are to be counted base: The number base, between 2 and 36 DESCRIPTIONxt_digits() computes the number of xt_digits in val, assuming the given base. RETURN VALUESThe number of base "base" xt_digits in val, or -1 if base is invalid
|