summaryrefslogtreecommitdiffstats
path: root/lib/libF77/d_dim.c
blob: 1d0ecb7bbb64f531e06f458dd3dab218ae7dc910 (plain)
1
2
3
4
5
6
7
8
9
10
#include "f2c.h"

#ifdef KR_headers
double d_dim(a,b) doublereal *a, *b;
#else
double d_dim(doublereal *a, doublereal *b)
#endif
{
return( *a > *b ? *a - *b : 0);
}
OpenPOWER on IntegriCloud