From bug-request at octave dot org Mon Feb 7 10:16:27 2005 Subject: Re: Inconsistency in complex division by zero From: "John W. Eaton" To: David dot Bateman at motorola dot com Cc: bug at octave dot org Date: Mon, 7 Feb 2005 11:21:06 -0500 On 7-Feb-2005, David Bateman wrote: | As the /0 case only occurs in "div" function in op-{cs,cm}-s.cc and in | the "ldiv" function in op-s-{cs,cm}.cc perhaps just a special case there | is sufficient. But then the fix only shows up for interpreted code and we would see different results for the same operation when performed in Octave, C/C++, or Fortran (used in a .oct file, for example). But maybe this is no different than some other operations which could be implemented slightly differently in different libraries? In any case, it is not a very satisfying solution. jwe ------------------------------------------------------------- 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 -------------------------------------------------------------