File: MSiCeil.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 (47 lines) | stat: -rw-r--r-- 924 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
40
41
42
43
44
45
46
47
<HTML>
<HEAD>
<TITLE>TSP (libtsp/MS) - MSiCeil</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFACD">
<H2>MSiCeil</H2>
<HR>
<H4>Routine</H4>
<DL>
<DT>
int MSiCeil (int n, int m)
</DL>
<H4>Purpose</H4>
<DL>
<DT>
Ceiling function for the ratio of two integers
</DL>
<H4>Description</H4>
This routine calculates the ceiling function of the ratio n/m.  It returns
the smallest integer that is greater than or equal to the quotient.
<H4>Parameters</H4>
<DL>
<DT>
&lt;-  int MSiCeil
<DD>
Returned integer value
<DT>
 -&gt; int n
<DD>
Input value (numerator)
<DT>
 -&gt; int m
<DD>
Input value (denominator)
</DL>
<H4>Author / revision</H4>
P. Kabal  Copyright (C) 1994
/ Revision 1.6  1994/03/30
<H4>See Also</H4>
<A HREF="MSiFloor.html">MSiFloor</A>,
<A HREF="MSlCeil.html">MSlCeil</A>,
<A HREF="MSlFloor.html">MSlFloor</A>
<P>
<HR>
Main Index <A HREF="../libtsp.html">libtsp</A>
</BODY>
</HTML>