GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
xt_digits(3) FreeBSD Library Functions Manual xt_digits(3)

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

#include <xtend/math.h>
-lxtend

int     xt_digits(long val, unsigned base)

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

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

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


Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.