Verified Commit ec904edb authored byBrowse files
The log method no longer errors out on non-positive values
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).
Showing with 2 additions and 7 deletions