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 | * | |
6 | * @(#)r_dim.c 5.1 %G% | |
34c24e19 DW |
7 | */ |
8 | ||
9 | double r_dim(a,b) | |
10 | float *a, *b; | |
11 | { | |
12 | return( *a > *b ? *a - *b : 0); | |
13 | } |