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:  *	@(#)d_nint.c	5.1	6/7/85
   7:  */
   8: 
   9: double d_nint(x)
  10: double *x;
  11: {
  12: double floor();
  13: 
  14: return( (*x)>=0 ?
  15:     floor(*x + .5) : -floor(.5 - *x) );
  16: }

Defined functions

d_nint defined in line 9; never used
Last modified: 1985-06-08
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 721
Valid CSS Valid XHTML 1.0 Strict