aboutsummaryrefslogtreecommitdiff
path: root/libf2c/libF77/r_dim.c
blob: baca95cd9e4745ddd29e38ec65361e1d705b3ad2 (plain)
1
2
3
4
5
6
7
8
9
10
#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);
}