From bug-request at octave dot org Sun Dec 12 18:02:07 2004 Subject: Re: (0-3*i)/inf gives NaN instead of 0 From: "Dmitri A. Sergatskov" To: Schloegl Alois CC: bug at octave dot org Date: Sun, 12 Dec 2004 17:00:58 -0700 Schloegl Alois wrote: > Bug report for Octave 2.1.64 configured for i686-pc-linux-gnu > > Description: > ----------- > > octave:4> version > ans = 2.1.64 > octave:5> (4-3*i)/inf > ans = NaN - NaNi > > The correct result is 0. > ... I think this is the problem with libstdc++, not with octave. Sincerely, Dmitri. -- ------------------------------------------------------------- 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 -------------------------------------------------------------