ln(-4) would yield a domain errorNot in Gnu Fortran, I believe. The Fortran call log(x), where x is complex, generates a complex answer (the principal value of the complex logarithm). These doc fileshttp://gcc.gnu.org/onlinedocs/gfortran/LOG.htmlsay as much, though they do not specify what would happen if the log function is called on a negative constant.We are actually getting very close to the heart of the matter, and to the correct answer to the question in the OP. If anyone has not yet figured it out, this post contains enough information to do so.Loren
Best Of |
Favorites & Replies |
Start a New Board |
My Fool |
BATS data provided in real-time. NYSE, NASDAQ and NYSEMKT data delayed 15 minutes.
Real-Time prices provided by BATS. Market data provided by Interactive Data.
Company fundamental data provided by Morningstar. Earnings Estimates, Analyst Ra