From octave-sources-request at bevo dot che dot wisc dot edu Mon Jul 24 17:06:59 2000 Subject: Re: Patch for nan/inf support without HAVE_*... From: Edward Jason Riedy To: "John W. Eaton" cc: octave-sources at bevo dot che dot wisc dot edu Date: Mon, 24 Jul 2000 15:06:57 -0700 And "John W. Eaton" writes: - I think it is reasonable to assume that a system that has complete - support for IEEE floating point would provide isnan and isinf or - finite, so I don't have a problem with the current implementation. Fair enough. I also didn't notice that configure.in checked for pretty much every fp-related header file... I poked through the mailing list archives, documentation, and FAQ and didn't see any discussion. - In that case, something like - double tmp = 2.0 * x; - will trap if x is NaN or Inf. Ah, that's what I was afraid of. Oh well. Wish we had the space to keep around a collection of broken FP boxes. Thanks for the reply. You can still remove most of the HAVE_* checks, though. And add relevant comments... I'll try to send a patch for those two sometime this week, if you're interested. Jason ----------------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.che.wisc.edu/octave/octave.html How to fund new projects: http://www.che.wisc.edu/octave/funding.html Subscription information: http://www.che.wisc.edu/octave/archive.html -----------------------------------------------------------------------