freebsd-dev/contrib/libf2c/libF77/r_dim.c
1999-09-18 10:51:31 +00:00

11 lines
147 B
C

#include "f2c.h"
#ifdef KR_headers
double r_dim(a,b) real *a, *b;
#else
double r_dim(real *a, real *b)
#endif
{
return( *a > *b ? *a - *b : 0);
}