summaryrefslogtreecommitdiffstats
path: root/libf2c/libF77/d_prod.c
diff options
context:
space:
mode:
Diffstat (limited to 'libf2c/libF77/d_prod.c')
-rw-r--r--libf2c/libF77/d_prod.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/libf2c/libF77/d_prod.c b/libf2c/libF77/d_prod.c
new file mode 100644
index 00000000000..3d4cef7835c
--- /dev/null
+++ b/libf2c/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) );
+}
OpenPOWER on IntegriCloud