Annotation of 42BSD/usr.lib/libF77/d_nint.c, revision 1.1

1.1     ! root        1: /*
        !             2:  *     "@(#)d_nint.c   1.1"
        !             3:  */
        !             4: 
        !             5: double d_nint(x)
        !             6: double *x;
        !             7: {
        !             8: double floor();
        !             9: 
        !            10: return( (*x)>=0 ?
        !            11:        floor(*x + .5) : -floor(.5 - *x) );
        !            12: }

unix.superglobalmegacorp.com

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