aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libf2c/d_dim.c
blob: 627ddb690fd6f296d9fb7143c341bf268b03653c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "f2c.h"
#ifdef __cplusplus
extern "C" {
#endif

#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);
}
#ifdef __cplusplus
}
#endif