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: * @(#)r_dim.c 5.3 7/9/85 7: */ 8: 9: float flt_retval; 10: 11: float r_dim(a,b) 12: float *a, *b; 13: { 14: flt_retval = *a > *b ? *a - *b : 0; 15: return(flt_retval); 16: }