diff options
Diffstat (limited to 'gnu/lib/libf2c/libF77/r_log.c')
-rw-r--r-- | gnu/lib/libf2c/libF77/r_log.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/lib/libf2c/libF77/r_log.c b/gnu/lib/libf2c/libF77/r_log.c new file mode 100644 index 00000000000..4873fb418e8 --- /dev/null +++ b/gnu/lib/libf2c/libF77/r_log.c @@ -0,0 +1,13 @@ +#include "f2c.h" + +#ifdef KR_headers +double log(); +double r_log(x) real *x; +#else +#undef abs +#include <math.h> +double r_log(real *x) +#endif +{ +return( log(*x) ); +} |