summaryrefslogtreecommitdiffstats
path: root/lib/libF77/erfc_.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libF77/erfc_.c')
-rw-r--r--lib/libF77/erfc_.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/libF77/erfc_.c b/lib/libF77/erfc_.c
new file mode 100644
index 0000000..56adb2f
--- /dev/null
+++ b/lib/libF77/erfc_.c
@@ -0,0 +1,12 @@
+#include "f2c.h"
+
+#ifdef KR_headers
+double erfc();
+double erfc_(x) real *x;
+#else
+extern double erfc(double);
+double erfc_(real *x)
+#endif
+{
+return( erfc(*x) );
+}
OpenPOWER on IntegriCloud