|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #53463] nextpow2 with Inf or NaN arguments |
Date: | Thu, 12 Apr 2018 17:36:25 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
Update of bug #53463 (project octave): Status: Patch Submitted => Fixed Open/Closed: Open => Closed _______________________________________________________ Follow-up Comment #2: I fixed this bug using a slightly different strategy. When the two-input form of the log2 function fails, the exponent returned is 0. I can use that fact to identify the input values like Inf or NaN that need special processing. I added new BIST tests to check that this all works. See this changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/69b21b8a0e9f). Marking as fixed and closing report. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?53463> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |