C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
_clear87, _status87
 Summary Example                         Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
     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.
                                    -♦-