FNiLog2


Routine

int FNiLog2 (int a)

Purpose

Find the integer greater or equal to log (base 2)

Description

This function returns the number of bits needed to represent an integer. The input value must be positive.

Parameters

<- int FNiLog2
Returned integer value
-> int a
Input value

Author / revision

P. Kabal Copyright (C) 1997 / Revision 1.3 1997/10/10


Main Index libtsp