From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,a14c54186e85e367,start X-Google-Attributes: gid111c93,public From: "Peter Willis" Subject: New Alpha programmer seeks info on double precision comparison exception Date: 2000/01/06 Message-ID: #1/1 X-Deja-AN: 569213438 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: news@bctel.net X-Trace: news.bctel.net 947187273 207.194.253.60 (Thu, 06 Jan 2000 11:34:33 PDT) NNTP-Posting-Date: Thu, 06 Jan 2000 11:34:33 PDT Newsgroups: comp.os.linux.alpha Hi everyone, I am programming some stuff on an alpha 21164 workstation. The problem I am having is with MS visual C++ and a small console program that I am running. On the alpha microprocessors how do I keep the boolean comparison of two double precision floating point numbers from generating an exception? Why would this generate an illegal floating point operation exception. ie: double a,b; if(a > b) /*exception is generated at this point*/ { } Peter