From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: Re^2: Rhide 1.0 & Exceptions Date: Thu, 12 Dec 1996 18:49:26 -0500 Organization: Cornell University http://www.cornell.edu Lines: 31 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <32B09A06.6907@cornell.edu> References: <19F4D507432 AT brain1 DOT lstm DOT ruhr-uni-bochum DOT de> Reply-To: asu1 AT cornell DOT edu NNTP-Posting-Host: cu-dialup-0094.cit.cornell.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Tom Demmer wrote: > > the simplest program that exhibits this behavior is: > > #include > #include > #include > > int main(int argc, char **argv){ > double f=-0.1,g=0.2; > double foo; > > foo=sqrt(f/g); > > return 0; > } > i am just curious. why is there such a proliferation of people trying to take sqrt of negative values? sinan. -- ******************************************************************* A. Sinan Unur WWWWWW |--O+O mailto:asu1 AT cornell DOT edu C ^ mailto:sinan AT econ DOT cit DOT cornell DOT edu \ ~/ http://www.bqnet.com/sinan/ *******************************************************************