Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
xt_digits(3)		    Library Functions Manual		    xt_digits(3)

NAME
     xt_digits() - Compute the number of xt_digits in an integer in any base

LIBRARY
     #include <xtend/math.h>
     -lxtend

SYNOPSIS
     int     xt_digits(long val, unsigned base)

ARGUMENTS
     val:    The number for which xt_digits are to be counted
     base:   The number base, between 2 and 36

DESCRIPTION
     xt_digits()  computes  the  number  of xt_digits in val, assuming the given
     base.

RETURN VALUES
     The number of base "base" xt_digits in val, or -1 if base is invalid

								    xt_digits(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=xt_digits&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help