File: MSdNint.3tsp

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 (31 lines) | stat: -rw-r--r-- 580 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
.TH MSdNint 3tsp "TSP (libtsp/MS)"
.SH Routine
.in +4n
.ti -4n
double MSdNint (double x)
.in -4n
.SH Purpose
.in +4n
.ti -4n
Nearest integer function
.in -4n
.SH Description
This routine returns the integer-valued double nearest x.  Specifically, the
returned value is floor(x+0.5) for positive x and ceil(x-0.5) for negative
x.
.SH Parameters
.in +4n
.ti -4n
<-  double MSdNint
.br
Returned integer value
.ti -4n
 -> double x
.br
Input value
.in -4n
.SH Author / revision
P. Kabal  Copyright (C) 1994
/ Revision 1.5  1994/03/30
.SH See Also
libtsp