help-octave
[Top][All Lists]
Advanced

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

Re: A double negative


From: Jonathan C. Webster
Subject: Re: A double negative
Date: Fri, 26 Mar 2004 12:32:37 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1



Vic Norton wrote:
I was going crazy last night trying to debug an octave routine. I finally found the problem. I had assumed that, if A is false, then ~A is must be true. My assumption turned out to be false in octave.



]$ octave -q
octave:1> A = 1
A = 1
octave:2> !A
ans = 0
octave:3>




-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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