* Copyright (c) 1994 Kevin G. Rhoads, all rights reserved.
*------------------------------------------------------------------------------ * gets '87 status word INTERFACE TO INTEGER*2 FUNCTION SSWRQQ() END * *------------------------------------------------------------------------------ * gets '87 status word -- C Library INTERFACE TO INTEGER*2 FUNCTION & STAT87[FAR,C,ALIAS:'__status87']() * * N.B. ALIAS as supplied uses pre-ANSI (pre MS C/C++v7.0) naming conventions and * thus requires OLDNAMES.LIB be available to the linker for MS C/C++ 7.0 * and all Visual C/C++ versions HOWEVER, linkage to MS C v6.0 requires no * changes -- to remove dependence on OLDNAMES make the leading underscore * a double underscore * *unsigned int __cdecl _status87(void); *unsigned int _cdecl status87(void); /* MS C6.0 and earlier */ END * *------------------------------------------------------------------------------ * gets '87 control word INTERFACE TO INTEGER*2 FUNCTION SCWRQQ() END * *------------------------------------------------------------------------------ * Sets '87 control word INTERFACE TO SUBROUTINE LCWRQQ(CW) INTEGER*2 CW END * *------------------------------------------------------------------------------ * Sets '87 control word -- C library INTERFACE TO INTEGER*2 FUNCTION & CTRL87[FAR,C,ALIAS:'__control87'](NEW,MASK) INTEGER*2 NEW,MASK * * N.B. ALIAS as supplied uses pre-ANSI (pre MS C/C++v7.0) naming conventions and * thus requires OLDNAMES.LIB be available to the linker for MS C/C++ 7.0 * and all Visual C/C++ versions HOWEVER, linkage to MS C v6.0 requires no * changes -- to remove dependence on OLDNAMES make the leading underscore * a double underscore * *unsigned int __cdecl _control87(unsigned int, unsigned int); *unsigned int _cdecl control87(unsigned int, unsigned int); /* MS C6.0 and earlier */ END * **------------------------------------------------------------------------------ ** clears '87 status word and resets FP (C) runtime library INTERFACE TO SUBROUTINE RESET87[FAR,C,ALIAS:'__fpreset']() * * N.B. ALIAS as supplied uses pre-ANSI (pre MS C/C++v7.0) naming conventions and * thus requires OLDNAMES.LIB be available to the linker for MS C/C++ 7.0 * and all Visual C/C++ versions HOWEVER, linkage to MS C v6.0 requires no * changes -- to remove dependence on OLDNAMES make the leading underscore * a double underscore * *void __cdecl _fpreset(void); *void _cdecl fpreset(void); /* MS C6.0 and earlier */ END * **------------------------------------------------------------------------------ ** gets '87 status word and clears it -- C Library -- ** there is (apparently) no way to reset '87 status word in FORTRAN INTERFACE TO & INTEGER*2 FUNCTION CLEAR87[FAR,C,ALIAS:'__clear87'] () * * N.B. ALIAS as supplied uses pre-ANSI (pre MS C/C++v7.0) naming conventions and * thus requires OLDNAMES.LIB be available to the linker for MS C/C++ 7.0 * and all Visual C/C++ versions HOWEVER, linkage to MS C v6.0 requires no * changes -- to remove dependence on OLDNAMES make the leading underscore * a double underscore * *unsigned int __cdecl _clear87(void); *unsigned int _cdecl clear87(void); /* MS C6.0 and earlier */ END *