Mercurial > hg > octave-nkf
diff NEWS @ 19935:554aaaf99644
Fix return phase of acosh to match Matlab (bug #44286).
* NEWS: Announce change.
* mappers.cc (Facosh): Add BIST tests for new behavior.
* lo-mappers.cc: Re-write expression sqrt (x*x -1.0) as
sqrt (x + 1.0) * sqrt (x - 1.0) which gets phase correct if x is complex.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 17 Feb 2015 11:07:01 -0800 |
parents | 59ad278cfb98 |
children | b8e4104a8f55 |
line wrap: on
line diff
--- a/NEWS +++ b/NEWS @@ -87,6 +87,10 @@ limit from above is taken. This criteria is consistent with several other numerical analysis software packages. + ** The hyperbolic function acosh now returns values with a phase in the range + [-pi/2, +pi/2]. Previously Octave returned values in the range [0, pi]. + This is consistent with several other numerical analysis software packages. + ** strfind changes when using empty pattern ("") for Matlab compatibility strfind now returns an empty array when the pattern itself is empty.