Commit | Line | Data |
---|---|---|
34c24e19 | 1 | /* |
e309c71b RE |
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 | * | |
95f51977 | 6 | * @(#)r_dim.c 5.3 7/9/85 |
34c24e19 DW |
7 | */ |
8 | ||
e2fcf16d JB |
9 | float flt_retval; |
10 | ||
46452188 | 11 | float r_dim(a,b) |
34c24e19 DW |
12 | float *a, *b; |
13 | { | |
e2fcf16d JB |
14 | flt_retval = *a > *b ? *a - *b : 0; |
15 | return(flt_retval); | |
34c24e19 | 16 | } |