1 /*- 2 * Copyright (c) 1980 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * %sccs.include.proprietary.c% 6 */ 7 8 #ifndef lint 9 static char sccsid[] = "@(#)r_dim.c 5.4 (Berkeley) 04/12/91"; 10 #endif /* not lint */ 11 12 float flt_retval; 13 14 float r_dim(a,b) 15 float *a, *b; 16 { 17 flt_retval = *a > *b ? *a - *b : 0; 18 return(flt_retval); 19 } 20