diff options
Diffstat (limited to 'gnu/usr.bin/gcc/f/runtime/libF77/r_log.c')
-rw-r--r-- | gnu/usr.bin/gcc/f/runtime/libF77/r_log.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/f/runtime/libF77/r_log.c b/gnu/usr.bin/gcc/f/runtime/libF77/r_log.c new file mode 100644 index 00000000000..aec6726ef5b --- /dev/null +++ b/gnu/usr.bin/gcc/f/runtime/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) ); +} |