* 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. * However Microsoft used double leading underscores (a single EXPLICIT leading * underscore in C declarations) since MS C v5.1 for _status87, _fpreset, * _control87 and _clear87. The declaration above will link properly with all * Microsoft C or C/C++ versions from 5.0 through 8.x (VC 1.x). * *unsigned int __cdecl _status87(void); /* MS C/C++ 7.0 & later */ *unsigned int _FAR_ _cdecl _status87(void); /* MS C6.0 */ *unsigned int _CDECL _status87(void); /* MS C5.x */ 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. * However Microsoft used double leading underscores (a single EXPLICIT leading * underscore in C declarations) since MS C v5.1 for _status87, _fpreset, * _control87 and _clear87. The declaration above will link properly with all * Microsoft C or C/C++ versions from 5.0 through 8.x (VC 1.x). * *unsigned int __cdecl _control87(unsigned int, unsigned int); /* MS C/C++ 7.0 & later */ *unsigned int _FAR_ _cdecl _control87(unsigned int, unsigned int); /* MS C6.0 */ *unsigned int _CDECL _control87(unsigned int,unsigned int); /* MS C5.x */ END * **------------------------------------------------------------------------------ ** clears '87 status word and resets FP (C) runtime library INTERFACE TO SUBROUTINE FPRESET[FAR,C,ALIAS:'__fpreset']() * * N.B. ALIAS as supplied uses pre-ANSI (pre MS C/C++v7.0) naming conventions. * However Microsoft used double leading underscores (a single EXPLICIT leading * underscore in C declarations) since MS C v5.1 for _status87, _fpreset, * _control87 and _clear87. The declaration above will link properly with all * Microsoft C or C/C++ versions from 5.0 through 8.x (VC 1.x). * *void __cdecl _fpreset(void); /* MS C/C++ 7.0 & later */ *void _FAR_ _cdecl _fpreset(void); /* MS C6.0 */ *void _CDECL _fpreset(void); /* MS C5.x */ 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. * However Microsoft used double leading underscores (a single EXPLICIT leading * underscore in C declarations) since MS C v5.1 for _status87, _fpreset, * _control87 and _clear87. The declaration above will link properly with all * Microsoft C or C/C++ versions from 5.0 through 8.x (VC 1.x). * *unsigned int __cdecl _clear87(void); /* MS C/C++ 7.0 & later */ *unsigned int _FAR_ _cdecl _clear87(void); /* MS C6.0 */ *unsigned int _CDECL _clear87(void); /* MS C5.x */ 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. * However Microsoft used double leading underscores (a single EXPLICIT leading * underscore in C declarations) since MS C v5.1 for _status87, _fpreset, * _control87 and _clear87. The declaration above will link properly with all * Microsoft C or C/C++ versions from 5.0 through 8.x (VC 1.x). * *void __cdecl _fpreset(void); /* MS C/C++ 7.0 & later */ *void _FAR_ _cdecl _fpreset(void); /* MS C6.0 */ *void _CDECL _fpreset(void); /* MS C5.x */ END *
Learn Python Programming for Beginners: Best Step-by-Step Guide for Coding with Python, Great for Kids and Adults. Includes Practical Exercises on Data Analysis, Machine Learning and More.
Microsoft 365 Guide to Success: 10 Books in 1 | Kick-start Your Career Learning the Key Information to Master Your Microsoft Office Files to Optimize Your Tasks & Surprise Your Colleagues | Access, Excel, OneDrive, Outlook, PowerPoint, Word, Teams, etc.
Microsoft Excel Guide for Success: Transform Your Work with Microsoft Excel, Unleash Formulas, Functions, and Charts to Optimize Tasks and Surpass Expectations [II EDITION]
CODING FOR ABSOLUTE BEGINNERS: How to Keep Your Data Safe from Hackers by Mastering the Basic Functions of Python, Java, and C++ (2022 Guide for Newbies)
The Small-Business Guide to Government Contracts: How to Comply with the Key Rules and Regulations . . . and Avoid Terminated Agreements, Fines, or Worse
Microsoft PowerPoint Guide for Success: Learn in a Guided Way to Create, Edit & Format Your Presentations Documents to Visual Explain Your Projects & Surprise Your Bosses And Colleagues | Big Four Consulting Firms Method