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_dim.c 5.1 6/7/85 7: */ 8: 9: double d_dim(a,b) 10: double *a, *b; 11: { 12: return( *a > *b ? *a - *b : 0); 13: }