BUG: Calling cosl(PI/2) in a DLL May Cause GPF
PSS ID Number: Q117322
Article last modified on 11-22-1994
PSS database name: VISUALC

1.00 1.50
MS-DOS

----------------------------------------------------------------------
The information in this article applies to:

 - Microsoft Visual C++ for Windows, versions 1.0 and 1.5
----------------------------------------------------------------------

SYMPTOMS
========
Calling the run-time function "cosl" with an argument equal to one-half the
value of pi (3.14159...) may generate a general protection fault (GPF) when
it is called within a DLL, and when you are running it on a computer
without a math coprocessor. This error does not occur when cosl is called
within an .EXE file; also, it does not occur when cosl is called within a
DLL or .EXE when you are running on a computer with a math coprocessor.

STATUS
======
Microsoft has confirmed this to be a bug with Microsoft Visual C++ for
Windows, versions 1.0 and 1.5. We are researching this problem and will
post new information here in the Microsoft Knowledge Base as it becomes
available.

Additional reference words: 1.00 1.50
KBCategory: kbprg kbbuglist
KBSubcategory: CRTIss

=============================================================================
Copyright Microsoft Corporation 1994.