home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c495 / watcm951.arj / STARTUP.WPK / 8087CW.C next >
Encoding:
C/C++ Source or Header  |  1993-02-16  |  600 b   |  15 lines

  1. #include <float.h>
  2.  
  3. /* This is the default value loaded into the 80x87 control word.
  4.    If you want higher precision, then change PC_53 to PC_64. The
  5.    reason we have the default set to PC_53 is generate reproducible
  6.    floating-point results regardless of the level of optimization
  7.    chosen for the compiler.
  8.    This value is loaded when the 80x87 is initialized by the startup
  9.    code, and also when _fpreset is called.
  10. */
  11. #pragma aux __8087cw "*";
  12.  
  13. /*                          0x1000  | 0x0000  | 0x0200 | 0x007F */
  14. unsigned short __8087cw = IC_AFFINE | RC_NEAR | PC_53  | 0x007F;
  15.