Skip to content
Snippets Groups Projects
Forked from Dynare / dseries
477 commits behind the upstream repository.
Sébastien Villemot's avatar
Sébastien Villemot authored
For a zero, it returns -Inf.
For a negative number, it returns NaN.

This is not exactly the same behavior as MATLAB's log function, because we want
to enforce type stability (i.e. never return a complex).
ec904edb
History