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