Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* New Alpha programmer seeks info on double precision comparison exception
@ 2000-01-06  5:00 Peter Willis
  2000-01-06  5:00 ` Steve Lionel
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Peter Willis @ 2000-01-06  5:00 UTC (permalink / raw)


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





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-01-07  5:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-01-06  5:00 New Alpha programmer seeks info on double precision comparison exception Peter Willis
2000-01-06  5:00 ` Steve Lionel
2000-01-06  5:00 ` Greg Lindahl
2000-01-07  5:00 ` Christopher Browne

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox