_clear87, _status87
◄Summary► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
The _clear87 function returns the floating-point status word and
sets it to zero, whereas the _status87 function returns it without
change. The floating-point status word is a combination of the
8087/80287 status word and other conditions detected by the
8087/80287 exception handler, such as floating-point stack
overflow and underflow.
Return Value
The bits in the value returned indicate the floating-point status.
See FLOAT.H for a complete definition of the bits returned by
_clear87.
Many of the math library functions modify the 8087/80287 status
word, with unpredictable results. Return values from _clear87 and
_status87 become more reliable as fewer floating-point operations
are performed between known states of the floating-point status
word.
-♦-