use of control87 and floating point underflow
- From: jobs239@xxxxxxxxxxx
- Date: 23 Aug 2006 12:30:07 -0700
In my c program if I put in the line
_control87(0, EM_ZERODIVIDE |_EM_UNDERFLOW);
I get a floating point underflow exception while running.
However if I change it to
_control87(EM_ZERODIVIDE |_EM_UNDERFLOW, EM_ZERODIVIDE |_EM_UNDERFLOW);
it runs fine.
Please help me undertsand whats wrong here and the correct use of
control87 function.
.
- Follow-Ups:
- Re: use of control87 and floating point underflow
- From: jacob navia
- Re: use of control87 and floating point underflow
- From: Walter Roberson
- Re: use of control87 and floating point underflow
- Prev by Date: Re: weird code.
- Next by Date: Re: Why does this not fail?
- Previous by thread: Why does this not fail?
- Next by thread: Re: use of control87 and floating point underflow
- Index(es):
Relevant Pages
|