24.11.2014 Views

Open Watcom FORTRAN 77 Language Reference

Open Watcom FORTRAN 77 Language Reference

Open Watcom FORTRAN 77 Language Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Functions and Subroutines<br />

12.3.26 Natural Logarithm<br />

Definition:<br />

log (a)<br />

e<br />

Name:<br />

Usage:<br />

LOG (generic) R ←LOG(R), D ←LOG(D), C ←LOG(C), Z ←LOG(Z) †<br />

ALOG<br />

DLOG<br />

CLOG<br />

R ←ALOG(R)<br />

D ←DLOG(D)<br />

C ←CLOG(C)<br />

CDLOG Z ←CDLOG(Z) †<br />

Notes: The value of a must be > 0. The argument of CLOG and CDLOG must not be (0,0).<br />

The result of CLOG and CDLOG is such that -π < imaginary part of the result

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!