From bug-octave-request at che dot utexas dot edu Tue May 31 21:24:57 1994 Subject: Re: min, max bugs From: John Eaton To: Ken Neighbors cc: bug-octave at che dot utexas dot edu (Octave Bug) Date: Tue, 31 May 94 21:24:52 EDT Ken Neighbors wrote: : I have been debugging column_min and column_max in tc-extras.cc, and : I have a question. I have recently fixed some bugs in those functions. You might want to get the latest snapshot before doing much debugging. : Why are real numbers differentiated from complex numbers in the case : statements? I.e., why not do it all using abs(arg.complex_value ()), : since you'll get the same answer anyway with less code. Is it for : speed? Generally yes, and in some cases also for savings in memory. If none of that mattered, I could have done everything with complex variables internally. jwe