[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #41802] Fix returning uninitialised value

From: Rik
Subject: [Octave-bug-tracker] [bug #41802] Fix returning uninitialised value
Date: Thu, 13 Mar 2014 23:01:08 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0

Follow-up Comment #4, bug #41802 (project octave):

I think it might be better to initialize with Octave_NaN.  A return value of
Octave_Inf would imply that the calculation succeeded, but that the result was
Inf.  A return value of NaN usually indicates a major failure.

Second, it's not required but it would be nice to demonstrate a test case
where this matters.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]