diff options
Diffstat (limited to 'lib/libF77/d_prod.c')
-rw-r--r-- | lib/libF77/d_prod.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/libF77/d_prod.c b/lib/libF77/d_prod.c new file mode 100644 index 0000000..3d4cef7 --- /dev/null +++ b/lib/libF77/d_prod.c @@ -0,0 +1,10 @@ +#include "f2c.h" + +#ifdef KR_headers +double d_prod(x,y) real *x, *y; +#else +double d_prod(real *x, real *y) +#endif +{ +return( (*x) * (*y) ); +} |