File: FNiLog2.html

package info (click to toggle)
libtsp 3r0-1
  • links: PTS
  • area: non-free
  • in suites: potato, woody
  • size: 5,096 kB
  • ctags: 1,798
  • sloc: ansic: 14,464; sh: 1,217; makefile: 182
file content (39 lines) | stat: -rw-r--r-- 687 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<HTML>
<HEAD>
<TITLE>TSP (libtsp/FN) - FNiLog2</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFACD">
<H2>FNiLog2</H2>
<HR>
<H4>Routine</H4>
<DL>
<DT>
int FNiLog2 (int a)
</DL>
<H4>Purpose</H4>
<DL>
<DT>
Find the integer greater or equal to log (base 2)
</DL>
<H4>Description</H4>
This function returns the number of bits needed to represent an integer.  The
input value must be positive.
<H4>Parameters</H4>
<DL>
<DT>
&lt;-  int FNiLog2
<DD>
Returned integer value
<DT>
 -&gt; int a
<DD>
Input value
</DL>
<H4>Author / revision</H4>
P. Kabal  Copyright (C) 1997
/ Revision 1.3  1997/10/10
<P>
<HR>
Main Index <A HREF="../libtsp.html">libtsp</A>
</BODY>
</HTML>