projects
/
unix-history
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
Add copyright
[unix-history]
/
usr
/
src
/
usr.bin
/
f77
/
libF77
/
r_nint.c
Commit
Line
Data
f990d254
DW
1
/*
2
* "@(#)r_nint.c 1.1"
3
*/
4
5
double r_nint(x)
6
float *x;
7
{
8
double floor();
9
10
return( (*x)>=0 ?
11
floor(*x + .5) : -floor(.5 - *x) );
12
}