INFO: Detecting x86 Floating Point Coprocessor in Win32 (124207)
The information in this article applies to:
- Microsoft Win32 Application Programming Interface (API), when used with:
- the operating system: Microsoft Windows 95
- the operating system: Microsoft Windows 98
- the operating system: Microsoft Windows 2000
- the operating system: Microsoft Windows NT
- the operating system: Microsoft Windows XP
This article was previously published under Q124207 SUMMARY
In the above mentioned operatins systems, floating point is emulated by the
operating system, in the event that a numeric coprocessor is not present.
This allows Win32-based applications to be compiled with floating point
instructions present, which will be trapped by the operating system at
runtime in the event that a coprocessor is not present. This behavior is
transparent to the application, so it is difficult to detect.
In some cases, it is useful to execute code based on the presence of a
numeric coprocessor, so this article explains how to do it.
Modification Type: | Minor | Last Reviewed: | 3/7/2005 |
---|
Keywords: | kbcode kbFloatPoint kbinfo kbKernBase kbRegistry KB124207 |
---|
|