Annotation of 43BSD/usr.lib/libF77/i_nint.c, revision 1.1.1.1

1.1       root        1: /*
                      2:  * Copyright (c) 1980 Regents of the University of California.
                      3:  * All rights reserved.  The Berkeley software License Agreement
                      4:  * specifies the terms and conditions for redistribution.
                      5:  *
                      6:  *     @(#)i_nint.c    5.1     6/7/85
                      7:  */
                      8: 
                      9: long int i_nint(x)
                     10: float *x;
                     11: {
                     12: double floor();
                     13: 
                     14: return( (*x)>=0 ?
                     15:        floor(*x + .5) : -floor(.5 - *x) );
                     16: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.