1*47940Sbostic /*- 2*47940Sbostic * Copyright (c) 1980 The Regents of the University of California. 3*47940Sbostic * All rights reserved. 422956Skre * 5*47940Sbostic * %sccs.include.proprietary.c% 610526Sdlw */ 710526Sdlw 8*47940Sbostic #ifndef lint 9*47940Sbostic static char sccsid[] = "@(#)r_dim.c 5.4 (Berkeley) 04/12/91"; 10*47940Sbostic #endif /* not lint */ 11*47940Sbostic 1223856Sjerry float flt_retval; 1323856Sjerry r_dim(a,b)1423854Sjerryfloat r_dim(a,b) 1510526Sdlw float *a, *b; 1610526Sdlw { 1723856Sjerry flt_retval = *a > *b ? *a - *b : 0; 1823856Sjerry return(flt_retval); 1910526Sdlw } 20