00001 #include "f2c.h" 00002 #ifdef __cplusplus 00003 extern "C" { 00004 #endif 00005 00006 #ifdef KR_headers 00007 double r_dim(a,b) real *a, *b; 00008 #else 00009 double r_dim(real *a, real *b) 00010 #endif 00011 { 00012 return( *a > *b ? *a - *b : 0); 00013 } 00014 #ifdef __cplusplus 00015 } 00016 #endif